President Donald Trump's former personal lawyer and fixer Michael Cohen told a congressional committee on Wednesday that Trump had the potential to cooperate with a foreign power to win the White House.

"Mr. Trump is all about winning," Cohen testified at the House Oversight and Government Reform Committee.

"He will do what is necessary," Cohen said, in response to a question from Rep. Deborah Wasserman Schultz, D-Fla., who about Trump's potential to cooperate with a foreign government to win the presidency.

Cohen's testimony comes about two months before he is due to surrender to a federal prison to begin a three-year sentence for multiple crimes, including lying to Congress about details of an aborted plan to build a Trump Tower in Moscow, Russia.

Among other things, Cohen admitted lying about when that deal died; he had told Congress that it was dropped in early 2016, when in fact it continued well into 2016, even as Trump had locked up the Republican nomination for presidency.

The 52-year-old disbarred lawyer since last year has met multiple times with special counsel Robert Mueller's team, which is investigating whether Trump or members of his presidential campaign colluded with Russian agents to influence the outcome of the 2016 election that sent Trump to the White House.

Cohen earlier Wednesday testified that Trump had advance knowledge, from admitted Republican dirty trickster Roger Stone, that the document-release group WikiLeaks in 2016 would be revealing documents stolen from the Democratic party by Russian agents.