Government of Hamburg
Prior to the first world war the two mayors were elected for one-year-terms. Until 1997 the First Mayor was Primus inter pares among his colleagues in the Senate, by whom he was elected.  Since then, he has been elected by the parliament and been able appoint and to dismiss other Senators.