Ukrainian President Volodymyr Zelenskyy announced that head of the office of the president of Ukraine, Andriy Yermak, had written a letter of resignation.

"I am grateful to Andriy for always presenting the Ukrainian position in the negotiation track exactly as it should be. It has always been a patriotic position," Zelenskyy noted, according to a translation of his comments in a video.

"But I want there to be no rumors and speculation. As for the new head of the office, tomorrow I will hold consultations with those who can head this institution," the foreign leader noted.

Yermak's home had been raided by anti-corruption investigators.

"Today, NABU and SAPO are indeed conducting procedural actions at my home. The investigators have no obstacles. They were given full access to the apartment, my lawyers are on site, interacting with law enforcement officers. From my side, I have full cooperation," Yermak noted the Ukrainian-language post on Friday.

President Donald Trump's administration has been aiming to help broker peace between Russia and Ukraine.

Fox News' Yulia Wallenfang contributed to this report.