In January 2022, he ran for the president of a non-parliamentary green party Z.Dej. The party won the most votes and seats of any party in the 2022 parliamentary election in April. Two months later on 1 June 2022, he became the Prime Minister.