In July 2016, a few rogue factions of the Turkish Armed Forces attempted to take over the government, but Erdogan supporters and other loyal military units stopped the coup attempt. Many lives were lost and hundreds were injured. The parliament house and some other buildings in Ankara and Istanbul were damaged. Thousands of military personnel have been arrested and the structure of the armed forces has been overhauled.