Top FBI officials debated whether Donald Trump was “acting at the behest of” Russia and “somehow following directions,” according to newly disclosed transcripts of congressional hearings.

James Baker, the FBI’s general counsel in the aftermath of James Comey’s firing as FBI director, told lawmakers senior bureau officials discussed the possibility the US president was working for the Kremlin, according to transcripts obtained by CNN.

“That was one extreme. The other extreme is that the president is completely innocent, and we discussed that too,” Mr Baker told investigators at a closed-door hearing in 2018.

“There’s a range of things this could possibly be. We need to investigate, because we don’t know whether, you know, the worst-case scenario is possibly true or the president is totally innocent and we need to get this thing over with – and so he can move forward with his agenda.”

The New York Times reported on Friday that the FBI opened a counterintelligence probe into whether Mr Trump could have been acting to benefit Moscow following the president’s decision to fire Mr Comey in 2017.

Mr Baker’s testimony – and the testimony of former FBI lawyer Lisa Page – reveal the extent of concerns among top officials about possible obstruction of justice by the US president and the potential for Russia-related motives.

The then-general counsel met with around half a dozen others, including then-acting FBI Director Andrew McCabe, to discuss whether Mr Trump was “acting at the behest of and somehow following directions, somehow executing their will”.

Mr Baker explained: “Not only would it be an issue of obstructing an investigation, but the obstruction itself would hurt our ability to figure out what the Russians had done, and that is what would be the threat to national security.

“I’m speaking theoretically. If the president of the United States fired Jim Comey at the behest of the Russian government, that would be unlawful and unconstitutional,” he added.

Who could be running against Trump in 2020? Show all 23 1 /23 Who could be running against Trump in 2020? Who could be running against Trump in 2020? Joe Biden The former vice president - poised to be a frontrunner - has announced his run. He recently faced scrutiny for inappropriate touching of women, but was thought to deal with the criticism well AFP/Getty Who could be running against Trump in 2020? Bernie Sanders The 2016 runner-up has announced that he will be running again in 2020 Getty Who could be running against Trump in 2020? Hillary Clinton The 2016 Democratic presidential candidate and former Secretary of State says she is “still considering” whether she will run again. Getty Who could be running against Trump in 2020? Pete Buttigieg The Indiana mayor and war veteran will be running for president. If elected, he would be the first openly LGBT+ president in American history. Getty Who could be running against Trump in 2020? Kamala Harris The former California attorney general will be running for president in 2020. Introduced to the national stage during Jeff Sessions’ testimony, she has endorsed Medicare-for-all and proposed a major tax-credit for the middle class. AP Who could be running against Trump in 2020? Elizabeth Warren The Massachusetts Senator has formally launched her bid for president in 2020. A progressive Democrat, she is a major supporter of regulating Wall Street. AP Who could be running against Trump in 2020? Beto O’Rourke The former Texas congressman told Oprah Winfrey that he “has been thinking about running for presidency”, but stopped short of formally announcing his bid to run in 2020. AFP/Getty Who could be running against Trump in 2020? Wayne Messam Mayor of the city of Miramar in the Miami metropolitan area, Wayne Messam has announced his bid. He intends to run on a progressive platform against the "broken" federal government. He favours gun regulations and was a signatory to a letter from some 400 mayors condemning President Trump's withdrawal from the Paris Climate Accord. Vice News Who could be running against Trump in 2020? Kirsten Gillibrand The New York Senator formally announced her presidential bid in January, saying that “healthcare should be a right, not a privilege.” Getty Who could be running against Trump in 2020? Cory Booker The New Jersey Senator has announced that he will be running for the presidency in 2020. If he secures the nomination he said finding a female vice president would be a priority. Getty Who could be running against Trump in 2020? John Delaney The Maryland congressman was the first to launch his bid for presidency, making the announcement in 2017. AP Who could be running against Trump in 2020? Julian Castro The former San Antonio mayor announced his candidacy in January and said that his running has a “special meaning” for the Latino community in the US. Getty Who could be running against Trump in 2020? Tulsi Gabbard The Hawaii congresswoman announced her candidacy in January, but is likely to face tough questions on her past comments on LGBT+ rights and her stance on Syrian President Bashar al-Assad. Getty Who could be running against Trump in 2020? Andrew Yang The entrepreneur has announced his presidential candidacy, and has pledged that he would introduce a universal basic income of $1,000 a month to every American over the age of 18. AFP/Getty Who could be running against Trump in 2020? Marianne Williamson The author and spiritual advisor has announced her intention to run for president. She had previously run for congress as an independent in 2014 but was unsuccessful. Getty Who could be running against Trump in 2020? John Kerry The former secretary of state has said he is still thinking about whether to run. Getty Who could be running against Trump in 2020? Michael Bloomberg The entrepreneur and former New York mayor– with a net worth of around $50bn – has said he will decide by the end of February whether to seek the presidency. AFP Who could be running against Trump in 2020? Howard Schultz Former Starbucks CEO Howard Schultz has not yet ruled out running for president in 2020, despite criticism that his bid could help re-elect Mr Trump by dividing the Democrat vote. AP Who could be running against Trump in 2020? Eric Holder The former attorney general has said he will decide in “the next month or so” whether to run as a 2020 presidential candidate. AP Who could be running against Trump in 2020? Eric Swalwell The California congressman said he is “ready to do this” and will decide before April whether to run. MSNBC Who could be running against Trump in 2020? Terry McAuliffe The former Virginia governor, who worked to elect Democratic governors during 2018 midterms, said there was a “50 per cent” chance he would run. AP Who could be running against Trump in 2020? Sherrod Brown The Ohio senator is still undecided about whether to run for president in 2020. Who could be running against Trump in 2020? Mitch Landrieu The former New Orleans mayor said he doesn’t think he will run for president, but “never say never”. AP Photo/Jacquelyn Martin

“Is that what happened here?” asked congressman John Ratcliffe, a Texas Republican.

“I don’t know,” said Mr Baker.

Ms Page told investigators the bureau had been considering an investigation into whether Mr Trump was working to benefit Russia before he fired Mr Comey.

“This case had been a topic of discussion for some time,” the former FBI lawyer said. “The waiting on was an indecision and a cautiousness on the part of the bureau with respect to what to do and whether there was sufficient predication to open.”

Support free-thinking journalism and attend Independent events

It was previously reported that former FBI agent Peter Strzok, fired in August 2018, had texted Ms Page to say the bureau should “open the case we’ve been waiting on” following Mr Comey’s dismissal.

According to a report in The Washington Post, Mr Trump has gone to “extraordinary lengths” to hide details of his conversations with Vladimir Putin, including removing notes from his own interpreter.

Mr Trump has denied the claims and attacked several of the former FBI actors involved in Russia-related investigations – Mr Comey, Mr McCabe, Ms Page and Mr Strzok – in a tweet sent out on Saturday.