The president is elected by the Federal Convention consisting of all the members of the Bundestag and an equal number of delegates representing the states. These are divided proportionally by population to each state, and each state's delegation is divided among the political parties represented in its parliament so as to reflect the partisan proportions in the parliament.