President Donald Trump announced Friday he was firing a senior intelligence official who had a central role in the complaint last August that sparked the impeachment trial of the US leader. In a letter to the Senate Intelligence Committee, Mr Trump said he had lost confidence in Michael Atkinson, the independent inspector general of the broad US intelligence community. Mr Atkinson reviewed and transmitted an anonymous whistle-blower's complaint in August that alleged that Mr Trump had sought personal political favors from Ukraine in violation of US law. The complaint became the basis for Mr Trump's impeachment, which saw him put through a historic trial for removal in the Senate in January. The president was charged with holding up official military aid to Ukraine in exchange for Kiev helping to smear his expected 2020 election foe, Democrat Joe Biden. After deciding the complaint had merit, Atkinson, a 55-year-old veteran government attorney, forwarded it to the Justice Department and to Congress, setting off the impeachment investigation. Atkinson then testified in a closed hearing of the House Intelligence Committee investigating the allegations, at a time when the White House sought to prevent other administration officials from giving evidence. Ultimately Mr Trump was voted not guilty by the Republican-controlled Senate in early February. He then embarked on a campaign to force from office a number of officials in the White House, State Department and Pentagon who cooperated with the probe. Mr Atkinson, who Mr Trump appointed to his post in 2018, was long understood to be in the president's sights. "It is vital that I have the fullest confidence in the appointees serving as inspectors general," Mr Trump wrote in the letter to the two top senators on the Intelligence Committee, Richard Burr and Mark Warner. "This is no longer the case with regard to this inspector general," he said, without explaining why. Mr Warner, a Democrat, blasted Mr Trump for what he called "ongoing attempts to politicise the nation's intelligence agencies." "In the midst of a national emergency, it is unconscionable that the president is once again attempting to undermine the integrity of the intelligence community by firing yet another an intelligence official simply for doing his job," he wrote. "The work of the intelligence community has never been about loyalty to a single individual; it's about keeping us all safe from those who wish to do our country harm."