Parti populaire slovène
In the local Slovenian elections of 1998, Šrot was elected mayor of Celje for the Slovenian People's Party. He was re-elected in 2002 with 56% of the vote, in 2006 for a third term, and in 2010 for a fourth term.