In November 2010, a new technocratic government was elected to office, which enacted numerous reforms, especially in the security sector. By August 2011, the new administration and its AMISOM allies had managed to capture all of Mogadishu from the Al-Shabaab militants. Mogadishu has subsequently experienced a period of intense reconstruction spearheaded by the Somali diaspora, the municipal authorities, and Turkey, a historic ally of Somalia.