Trump fired Comey to stop the Russian influence investigation. He bragged about it to his Russian handlers.
Note that the American press was banned from this meeting, in the White House oval office. Only Russian media was allowed.
“I just fired the head of the F.B.I. He was crazy, a real nut job,” Trump told the Russian foreign minister and U.S. ambassador on May 10 during an Oval Office meeting, according to a transcript of the meeting read to The Times by a U.S. official. “I faced great pressure because of Russia. That’s taken off.”
Link