Parties that gain more than 5% of the second votes or win at least 3 direct mandates are allocated seats in the Bundestag in proportion to the number of votes it has received (d'Hondt method until 1987, largest remainder method until the 2005 election, now Sainte-Laguë method).