The "Senat der Freien und Hansestadt Hamburg" is formed by the First Mayor of Hamburg, the Minister President and mayor of Hamburg. His deputy is the Second Mayor. The senate is permitted no more than 12 members by law. This law also regulates among other, pay, pensions, privilege to refuse to give evidence and the legal position of Hamburg judges. The senators get appointed by the First Mayor and thereafter they need to get confirmed by the Hamburg Parliament. The First Mayor forms the ministries, according to the coalition agreement of the ruling parties.