Philip V was King of Spain from 1 November 1700 to 14 January 1724 and again from 6 September 1724 to his death in 1746. His total reign is the longest in the history of the Spanish monarchy, surpassing Philip IV. From Wikipedia