Yi Seong-gye established the Joseon dynasty (1392–1910) with a largely bloodless coup. Yi Seong-gye moved the capital of Korea to the location of modern-day Seoul. The dynasty was heavily influenced by Confucianism, which also played a large role to shaping Korea's strong cultural identity. King Sejong the Great (1418–1450), one of the only two kings in Korea's history to earn the title of great in their posthumous titles, reclaimed Korean territory to the north and created the Korean alphabet. During the end of the 16th century, Korea was invaded twice by Japan, first in 1592 and again in 1597. Japan failed both times due to Admiral Yi Sun-sin, Korea's revered naval genius, who lead the Korean Navy using advanced metal clad ships called turtle ships. Because the ships were armed with cannons, Admiral Yi's navy was able to demolish the Japanese invading fleets, destroying hundreds of ships in Japan's second invasion. During the 17th century, Korea was invaded again, this time by Manchurians, who would later take over China as the Qing Dynasty. In 1637, King Injo was forced to surrender to the Qing forces, and was ordered to send princesses as concubines to the Qing Prince Dorgon. After invasions from Manchuria, Joseon enjoyed nearly 200 years of peace. However, whatever power the kingdom recovered during its isolation further waned as the 18th century came to a close, and Korea was faced with internal strife, power struggles, international pressure and rebellions at home. The Joseon dynasty declined rapidly in the late 19th century. South Asia Indian empires On the Indian subcontinent, the Lodi dynasty ruled over the Delhi Sultanate during its last phase. The dynasty founded by Bahlul Lodi ruled from 1451 to 1526. The dynasty's last ruler, Ibrahim Lodhi, was defeated and killed by Babur in the first Battle of Panipat. The Vijayanagara Empire was based in the Deccan Plateau, but its power was diminished after a major military defeat in 1565 by the Deccan sultanates. The empire is named after its capital city of Vijayanagara. The rise of the Mughal Empire is usually dated from 1526, around the end of the Middle Ages. It was an Islamic Persianate imperial power that ruled most of the area as Hindustan by the late 17th and the early 18th centuries. The empire dominated South and Southwestern Asia, becoming the biggest global economy and manufacturing power, with a nominal GDP that valued