Prior to 2009, the mayor was elected by the City Assembly. It was changed to direct elections by majoritarian vote (two-round system) in 2009. The mayor is the head of the city administration and has two deputies (directly elected together with him/her). 