colonization of the Americas and other parts of the world intensified and associated mass migrations of people grew in size as part of the Age of Sail. European colonization intensified in present-day Indonesia, where the Dutch East India Company established increasing levels of control over the Mataram Sultanate. Mainland Southeast Asia would be embroiled in the Konbaung–Ayutthaya Wars and the Tây Sơn rebellion, while in East Asia, the century marked the High Qing era and the continual seclusion policies of the Tokugawa shogunate. Various conflicts throughout the century, including the War of the Spanish Succession and the French and Indian War saw Great Britain triumphing over its European rivals to become the preeminent colonial power in Europe. However, Britain lost its colonies in North America after the American Revolutionary War, which went on to form the United States, initiating the decolonization of the Americas. The European colonization of Australia and New Zealand began during the late half of the century. In the Indian subcontinent, the death of Mughal emperor Aurangzeb marked the end of medieval India and the beginning of an increasing level of European influence and control in the region, which coincided with a period of rapid Maratha expansion. After the reign of Aurangzeb, the Mughal Empire became less powerful. In 1739, Nader Shah invaded and defeated the Mughal Empire. Later, his general Ahmad Shah Abdali scored another defeat against the Mughals in the Third Battle of Panipat in 1761. By the middle of the century, the British East India Company began to conquer the eastern parts of India, a process which accelerated after their victory over the Mughal emperor, Nawab of Bengal and their French allies at the Battle of Plassey. Mughal emperor transformed into mere puppet of British. By the end of the century, Company rule in India had come to cover more regions within South Asia, the British would also expand to the south, participating in the Anglo-Mysore Wars against the Kingdom of Mysore, governed by Tipu Sultan and his father Hyder Ali. Events 1701–1750 1700–1721: Great Northern War between the Russian and Swedish Empires. 1701: Kingdom of Prussia declared under King Frederick I. 1701–1714: The War of the Spanish Succession is fought, involving most of continental Europe. 1702–1715: Camisard rebellion in France. 1703: Saint Petersburg is founded by Peter the Great; it is the Russian capital until 1918. 1703–1711: The Rákóczi uprising against the Habsburg