"I am the state!" King Louis XIV gained the people's respect, but he did bankrupt the state by funding the War of Spanish Succession, which France lost to Britain and Austria. Louis had control over the nobels, because he invited them to live in Versailles with him. Thus, he could watch every move of the nobels. Louis also revoked the Edict of Nantes, thus allowing the Huguenots to not have any religious and political freedom. This persecuted the protestants and controlled the Huguenots in an unruly matter.