If consular records prior to the revolution are used to estimate the immigrant population, as many as 2 million Egyptian migrants were recorded by the Egyptian embassy in Tripoli in 2009, followed by 87,200 Tunisians, and 68,200 Moroccans by their respective embassies. The number of Asian migrants before the revolution were roughly 100,000 (60,000 Bangladeshis, 18,000 Indians, 10,000 Pakistanis, 8000 Filipinos as well as Chinese, Korean, Vietnamese, Thai and other workers). This would put the immigrant population at almost 40% before the revolution and is a figure more consistent with government estimates in 2004 which put the regular and irregular migrant numbers at 1.35 to 1.8 million (25–33% of the population at the time).. Which group of immigrants was in greater numbers in Tripoli in 2009, Moroccans or Tunisians?