The population of Mumbai has grown significantly over the past 350 years, from 10,000 inhabitants in 1661 to over 12 million in 2011. There has been a large influx of migrants to Mumbai, accounting for 70% of its growth. The sex ratio in Mumbai has declined over time and the child sex ratio indicates a shift of discriminatory female foeticide to rural areas near Mumbai. Malnutrition and diseases like AIDS remain problems in Mumbai's slum areas, which house over half of the city's population. The city has undergone a transformation from a manufacturing-based to a service-based economy.