Mali gained independence from France in April 1960, and the Republic of Mali was later established. At this time, Bamako had a population of around 160,000. During the 1960s, the country became socialist and Bamako was subject to Soviet investment and influence. However, the economy declined as state enterprises collapsed and unrest was widespread. Eventually, Moussa Traoré led a successful coup and ruled Mali for 23 years. However his rule was characterised by severe droughts and poor government management and problems of food shortages.