(CNN) Acting Homeland Security Secretary Kevin McAleenan will now testify Wednesday at a House Homeland Security Committee hearing on global terrorism, the committee and the Department of Homeland Security confirmed on Tuesday.

McAleenan had said last week that he would not appear for the hearing , despite being issued a subpoena by the committee. The subpoena has been withdrawn since McAleenan has agreed to voluntarily appear at the hearing, according to a letter from House Homeland Committee Chairman Bennie Thompson.

CNN reported last week that the hearing fell the day before McAleenan was scheduled to leave his job atop DHS and, in a letter to the committee sent at the time, McAleenan said he could not testify because he was focused on "winding down" his tenure. President Donald Trump announced McAleenan's resignation earlier this month.

Asked on Tuesday if McAleenan was still planning to leave office on Thursday, a DHS official could not confirm the date but said "the Secretary has always said he will work with the White House on his departure date to ensure a smooth transition."

Thompson had issued subpoenas last week to McAleenan and acting National Counterterrorism Center Director Russell Travers to appear at the hearing Wednesday on terrorist threats facing the country.

Read More