WASHINGTON — Memos written by the former F.B.I. director, James B. Comey, that were released on Thursday revealed several new details about his relationship with President Trump and the president’s first chief of staff, Reince Priebus.

Though much of what the memos describe was already public, the documents themselves provided an intimate portrait of the early months of the Trump White House and how the president and Mr. Priebus confronted leaks, the prospect that the national security adviser was under investigation and allegations about Mr. Trump’s ties to Russia.

Mr. Comey depicts Mr. Trump as a man engrossed to the point of distraction with political rivalries and fears that bureaucrats and government officials, including in the F.B.I., were trying to undermine his legitimacy.

[Read the memos here.]

The president responded late Thursday by insisting that the memos showed no collusion with Moscow’s election interference and that Mr. Comey had erred by leaking classified information. The memos were reviewed by Justice Department officials before being released.