), and for centuries wars were waged between princes ("Kabinettskriege" in German).Modern nation-states appeared in the wake of the French Revolution, with the formation of patriotic sentiments for the first time in Spain during the Peninsula War (1808–1813, known in Spain as the Independence War).