Answer
The War of the Spanish Succession and the Great Northern War led to the approval of Frederick III's elevation to King in Prussia. This was possible due to the Duchy of Prussia's sovereign status outside the Holy Roman Empire and the alliances formed with the Habsburg emperor and other European royals.