The military of the Ottoman Empire reverses the Ottoman countercoup of 1909 to force the overthrow of Sultan Abdul Hamid II.

The 31 March Incident (Turkish: 31 Mart Vakas, 31 Mart Olay, 31 Mart Hadisesi, or 31 Mart syan) was a political crisis within the Ottoman Empire in April 1909, during the Second Constitutional Era. Occurring soon after the 1908 Young Turk Revolution, in which the Committee of Union and Progress (CUP) had successfully restored the Constitution and ended the absolute rule of Sultan Abdul Hamid II, it is sometimes referred to as an attempted countercoup or counterrevolution. It consisted of a general uprising against the CUP within Istanbul, largely led by reactionary groups, particularly Islamists opposed to the secularising influence of the CUP and supporters of absolutism, although liberal opponents of the CUP within the Ottoman Liberty Party also played a lesser role. The crisis ended after eleven days, when troops loyal to the CUP restored order in Istanbul.

The crisis began with a mutiny among elite Macedonian troops of the Istanbul garrison on the night of 1213 April [O.S. 3031 March] 1909, sparked by agitation from Muslim fundamentalists, low morale and officerial mismanagement. The unrest spiralled out of control as religious students and other elements of the city's garrison joined the insurrection, converging on Ayasofya Square to demand the re-establishment of Sharia. The CUP-aligned government of Grand Vizier Hseyin Hilmi Pasha responded ineffectually, and by the afternoon of 13 April its authority in the capital had collapsed. The Sultan accepted Hilmi Pasha's resignation and appointed a new cabinet free from the CUP's influence under Ahmet Tevfik Pasha. Most CUP members fled the city for their power base in Salonika (modern Thessaloniki), while Mehmed Talaat escaped with 100 deputies to San Stefano (Yeilky), where they proclaimed the new ministry illegal and attempted to rally secularists and minorities in support of their cause. For a brief period the two rival authorities in Istanbul and Aya Stehano each claimed to represent the legitimate government. These events triggered the Adana massacre, a month-long series of anti-Armenian pogroms organised by local officials and Islamic clerics in which 20,000 to 25,000 Armenians, Greeks and Assyrians were killed.

The uprising was suppressed and the former government restored when elements of the Ottoman Army sympathetic to the CUP formed an impromptu military force known as the Action Army (Hareket Ordusu), which entered Istanbul on 24 April after failed negotiations. On 27 April, Abdul Hamid II, accused by the CUP of complicity in the uprising, was deposed by the National Assembly and his brother, Mehmed V, made sultan. Mahmud Shevket Pasha, the military general who had organised and led the Action Army, became the most influential figure in the restored constitutional system until his assassination in 1913.The precise nature of events is uncertain; differing interpretations have been offered by historians, ranging from a spontaneous revolt of discontents to a secretly planned and coordinated counter-revolution against the CUP. Most modern studies disregard claims the Sultan was actively involved in plotting the uprising, emphasising the CUP's mismanagement of troops in the build up to the mutiny and the role of conservative religious groups. The crisis was an important early moment in the empire's process of disintegration, setting a pattern of political instability which continued with military coups in 1912 and 1913. The temporary loss of power led to radicalisation within the CUP, resulting in an increasing willingness among unionists to utilise violence. Some scholars have argued that the deterioration of ethnic relations and erosion of public institutions during 19081909 precipitated the Armenian genocide.

The military of the Ottoman Empire can be divided in five main periods. The foundation era covers the years between 1300 (Byzantine expedition) and 1453 (Conquest of Constantinople), the classical period covers the years between 1451 (second enthronement of Sultan Mehmed II) and 1606 (Peace of Zsitvatorok), the reformation period covers the years between 1606 and 1826 (Vaka-i Hayriye), the modernisation period covers the years between 1826 and 1858 and decline period covers the years between 1861 (enthronement of Sultan Abdülaziz) and 1918 (Armistice of Mudros). The Ottoman army is the forerunner of the Turkish Armed Forces.