He was King of Spain from 14 January 1724 â `` 31 August 1724 when he died of smallpox . Louis I ( Spanish : Luis I de BorbÃ n ) ( 25 August 1707 â `` 31 August 1724 ) was King of Spain from 14 January 1724 until his death .