William III died without legitimate children. This meant that the principality was seen as inherited by his closest cognate relative on the basis of the testament of Frederic-Henry, Frederick I of Prussia . He handed over the principality's lands but not the title to France in 1713. France supported his claim. In this way, the territory of the principality was no longer a separate state, but became a part of France. Through the Treaty of Utrecht. A new "Principality of Orange" was created by the King of Prussia as part of the duchy of Gelderland.. The kings of Prussia and the German emperors styled themselves Princes of Orange till 1918.