President Trump on Sunday confirmed that a US airstrike blew away the mastermind of the 2000 terror attack on the USS Cole in which 17 Navy sailors were killed.

“Our GREAT MILITARY has delivered justice for the heroes lost and wounded in the cowardly attack on the USS Cole. We have just killed the leader of that attack, Jamal al-Badawi. Our work against al Qaeda continues. We will never stop in our fight against Radical Islamic Terrorism!” Trump tweeted.

Suicide bombers steered a boat packed with explosives into the Cole, a guided-missile destroyer, while it was refueling at the Yemeni port of Aden on Oct. 12, 2000.

Along with the 17 killed, 39 others were injured.

A Navy spokesman, Capt. William Urban, said US forces determined Badawi was killed in an airstrike carried out in Yemen on New Year’s Day after a “deliberate assessment process.”

Badawi and the suicide bombers were recruited by Osama bin Laden and trained in Afghanistan.

He was indicted on murder charges in absentia by a US grand jury in 2003.

Badawi was convicted of murder in Yemen and sentenced to death — but Yemeni officials allowed him to remain free in a deal that required him to help authorities capture other al Qaeda terrorists.

News that the airstrike killed Badawi began leaking out last Friday.

Jamal Gunn, whose brother, Signalman Seaman Cherone Louis Gunn, died in the blast, said justice has been served with Badawi’s death, but others connected to the terror attack must also pay.

“We want to make sure there’s full accountability and justice across the board for those responsible for the attack,” Jamal Gunn told the CBS affilaiate in Norfolk, Va.

With Post wires