US President Donald Trump has announced that Joseph Maguire, the current head of the National Counterterrorism Center, was his new pick to be the acting Director of National Intelligence (DNI).

“I am pleased to inform you that the Honourable Joseph Maguire, current director of the National Counterterrorism Center, will be named Acting Director of National Intelligence, effective August 15,” Xinhua news agency quoted Trump as saying in a tweet on Thursday night.

“Admiral Maguire has a long and distinguished career in the military, retiring from the US Navy in 2010. He commanded at every level, including the Naval Special Warfare Command. He has also served as a National Security Fellow at Harvard University,” the President added.

Trump also said that the resignation of current deputy director of national intelligence, Sue Gordon, will also take effect on August 15, the same day as that of outgoing Director of National Intelligence Dan Coats.

Coats was sworn in as the fifth DNI in March 2017. He frequently appeared out of step with Trump over policy and intelligence issues, including the alleged Russian interference.

The DNI serves as the principal intelligence adviser to the White House and heads the US Intelligence Community, a federation of 17 federal intelligence agencies from the civilian and military sectors.

The role was created in the wake of the terrorist attacks on September 11, 2001 in order to prevent further intelligence failures.