The 18th century saw the gradual weakening of the absolute monarchy constructed by Louis XIV. Its power slipped away during the Regency of Philippe d'Orléans, (1715–1723) and the long regime of King Louis XV, when France lost the Seven Years' War with England, and lost much of its empire in Canada and India. France was forced to recognize the growing power of England and Prussia. The Monarchy finally ended with King Louis XVI, who was unable to understand or control the forces of the French Revolution. The end of the century saw the birth of the United States, with the help of French ideas and military forces; the declaration of the French Republic in 1792, and the rise of Napoleon Bonaparte, setting the stage for the history of modern France