It is difficult to estimate the total number of immigrants in Libya as there are often differences between census figures, official counts and usually more accurate unofficial estimates. In the 2006 census, around 359,540 foreign nationals were resident in Libya out of a population of over 5.5 million (6.35% of the population). Almost half of these were Egyptians, followed by Sudanese and Palestinian immigrants.