of Mahmud I and accession of Osman III. 1755: Division of the Mataram Sultanate, Indonesia, the last major independent Muslim state in Java before Dutch colonisation. 1757: In Ottoman Empire death of Osman III and accession of Mustafa III. 1761: Death of Shah Waliullah Dehlavi. Battle of Panipat. Ahmed Shah Abdali came to India at the invitation of Shah Waliullah Dehlavi and smashed rising Maratha Empire power in the Third Battle of Panipat. 1764: Conversion to Islam of Areadi Gaya, ruler of Futa Bandu State in West Sudan. 1768: Start of the war between Ottoman Empire-Russia (Russo-Turkish War (1768–74) ) and defeats of Ottoman land armies at various battles. 1770: Burning of the Ottoman fleet at Naval Battle of Chesma by a Russian fleet that has come from Baltic Sea. 1771: Conquest of the Crimean Peninsula by Russian forces and the end of Ottoman dominance over Khanate of Crimea. 1773: Death of Ahmed Shah Abdali. 1774: In Ottoman Empire death of Mustafa III and accession of Abdul Hamid I. Defeat of the Ottoman armies by Russians. Signing of the Treaty of Kuçuk Kainarji to end the Ottoman-Russian war (Russo-Turkish War (1768–74)). Khanate of Crimea nominally gained independence but in fact became a dependency of Russia. 1779: Signing of Aynalikavak Accord between Ottoman Empire and Russia. 1783: End of Kalhora rule in Sind. Russia occupies and annexes the Crimean Peninsula and ends the rule of Khanate of Crimea. 1787: In Ottoman Empire start of war against Austria and Russia (Russo-Turkish War (1787–92)). Death of Sultan Abdulhamid I and accession of Selim III. 1791: Signing of the Treaty of Sistova that ends the war between Austria and Ottoman Empire. 1792: War between Ottoman Empire and Russia (Russo-Turkish War (1787–92)) ends with signing of the Treaty of Jassy. 1793: Selim III issues a set of new regulations for the Ottoman Empire, providing for establishment of a military corps based on European models, reforming economic regulations by curbing the abuses of foreign , and revising the tax system. 1797: Death of Agha Mohammad Khan Qajar, the Shah of Persia. Russia occupied Dagestan. 1798: Landing of the armies of French Republic under the command of Napoleon Bonaparte in Ottoman Province of Egypt. Defeat of the Ottoman provincial army of Mamluks at Battle of the Pyramids. Defeat and burning of French Fleet at naval Battle of Aboukir by the British fleet under Admiral Lord Nelson. Alliance