The period of defeat and dissolution of the Ottoman Empire (1908–1922) began with the Young Turk Revolution which restored the Ottoman constitution of 1876 and the reconvening of the Ottoman parliament effectively started the Second Constitutional Era. The partition of the Ottoman Empire was carried out under the terms of the Treaty of Sèvres after the World War I. The occupation of its capital along with the occupation of İzmir mobilized the Turkish national movement, which won the Turkish War of Independence. The formal abolition of the Ottoman Sultanate on 1 November 1922 was performed by Grand National Assembly of Turkey and the sultan and his family were declared personae non gratae. With the death of Ertuğrul Osman on 23 September 2009, the last of the line born under the Ottoman Empire was extinguished.