The government of Hamburg is divided into executive, legislative and judicial branches. Hamburg is a city-state and municipality, and thus its governance deals with several details of both state and local community politics. It takes place in two ranks – a citywide and state administration (Senate of Hamburg), and a local rank for the boroughs. The head of the city-state's government is the First Mayor and President of the Senate. A ministry is called Behörde (office) and a state minister is a Senator in Hamburg. The legislature is the state parliament, called Hamburgische Bürgerschaft, and the judicial branch is composed of the state supreme court and other courts. The seat of the government is Hamburg Rathaus. The President of the Hamburg Parliament is the highest official person of the Free and Hanseatic City of Hamburg.[1] This is a traditional difference to the other German states. The president is not allowed to exert any occupation of the executive.
Prior to 1871, Hamburg was a fully sovereign country, and its government a sovereign government. Upon joining the German Empire, the city-state retained partial sovereignty as a federal state. It was one of three republics within the German Empire until 1919, which meant that its First Mayor enjoyed the same rank in the Empire as the federal princes. Prior to the constitutional reforms in 1919, the hereditary grand burghers, or Hanseaten, had a legally privileged position and were the only ones eligible for election to the senate.
The local rank is organised in the 7 boroughs of Hamburg.