Spain in the 17th century all contributed to the decline of the Habsburg rule of Spain. The end of the 17th century also brought the end of Habsburg rule. The 18th century began with the War of the Spanish Succession, which concluded in the establishment of the Bourbon dynasty in Spain. In 1469, Ferdinand II of Aragon and Isabella I of Castile united the Crowns of Aragon and Castile into one, creating the early modern Spanish state. Although this ensured future Spanish rulers would rule over both Aragon and Castile, both regions had their own administration and legal systems. In addition, Aragon itself was divided
Nguyễn dynasty the next lord. Lê Chiêu Thống, emperor of the Lê dynasty, wanted to regain power from the Trịnh. He summoned Nguyễn Hữu Chỉnh, governor of Nghệ An, to attack the Trịnh lord at the Imperial Citadel of Thăng Long. Trịnh Bồng surrendered to the Lê and became a monk. Nguyễn Hữu Chỉnh wanted to unify the country under Lê rule, and began to prepare the army to march south and attack the Tây Sơn. Huệ led the army, killed Nguyễn Hữu Chỉnh, and captured the later Lê capital. The Lê royal family were exiled to China, and the later Lê