Complex sentence: On 15 July 2016, a coup d'état was attempted by the military, with aims to remove Erdoğan from government, however by the next day Erdoğan's government managed to reassert effective control in the country.
Split into simpler sentences: On 15 July 2016, a coup d'état was attempted by the military, with aims to remove Erdoğan from government. By the next day, Erdoğan's government managed to reassert effective control in the country.