The period of 1911–13 was a highly turbulent time for the Ottoman government in terms of both domestic and foreign affairs. It marked a political power struggle between the CUP and Freedom and Accord, consisting of rapid exchanges of power involving a rigged election, a military revolt, and finally a coup d'état on a background of the disastrous Libyan and Balkan Wars.