Ukraine's President Volodymyr Zelensky has sacked the head of his personal protection unit, Serhiy Rud after two of its top officials were detained over an alleged assassination plot.
Rud has led the president's security detail since 2019.
This announcement was made in a brief presidential decree with no reason following the dismissal.
However, the state guard administration (UDO) is critical for the safety not only of the president but other key figures in Ukraine and their families.
The two colonels in the state guard who were detained on Tuesday are suspected of belonging to a network of agents run by Russia's FSB security service.
Mr Zelensky has spoken of repeated Russian plots to assassinate him, but the latest revelations involved his own entourage and also targeted military intelligence chief Kyrylo Budanov and the head of the SBU state security service, Vasyl Malyuk.
Mr Malyuk said this week that the plot was due to culminate with a "gift to Putin" before his fifth term as president was inaugurated on Tuesday.
Individuals close to President Zelensky's bodyguard were meant to kidnap and kill him, while Mr Budanov would have been attacked with rockets, drones and anti-tank grenades, the SBU said.
There was no suggestion that Serhiy Rud, 47, had any link to the allegations, although one of the two colonels in detention, Andriy Huk, was seen as a personal friend. Ukrainian reports said.
Maj Gen Rud has served in Ukraine's military for most of his adult life, and much of his career has been focused on state security.