there were 856,132 males and 898,050 females in hamburg. for every 1,000 males there were 1,049 females. in 2006 there were 16,089 births in hamburg, of which 33.1% were given by unmarried women, 6,921 marriages and 4,583 divorces. in 2006, 198 registered partnerships took place at the civil registration office ("standesamt"). 40 partnerships were dissolved by court order since 2001. in the city the population was spread out with 15.7% under the age of 18, and 18.8% were 65 years of age or older. in 2006, there were 257,060 foreign residents were living in hamburg (14.8% of the population). the largest group being turkish nationals at 58,154 (22.6% of foreign residents ), followed by 20,743 polish nationals. 4,046 people were from the united kingdom and 4,369 were from the united states. according to gtz, 22,000 immigrants living in hamburg are from afghanistan, thus forming the largest afghan community in germany and europe.