 The Spanish envoys had been given great authority by the Spanish King Philip IV who had been suing for peace for years.On 30 January 1648, the parties reached agreement and the text sent to the Hague and Madrid for approval; it was ratified by the Spanish and Dutch delegations on 15 May, with the States General narrowly approving the Treaty on 5 June 1648.The Peace of Münster between the Holy Roman Emperor, France and their allies and the Treaty of Osnabrück involving the Holy Roman Empire, Sweden and their allies were collectively known as the Peace of Westphalia.