stylistic:style_transfer, structural:reformatting
Ethnic groups

According to the 2012 Gibraltar census, 25,444 people (79.0%) were eligible for "Gibraltarian" status. Of the rest, 4249 (13.2%) were "other British", 675 (2.1%) were Spanish, 522 (1.6%) were Moroccan and 785 (2.4%) had other EU nationalities. There were 519 people (1.6%) with other nationalities.