Carlos IV of Spain

Charles IV of Spain (11 November 1748-20 January 1819) was the King of Spain from 1788 until his abdication in 1808. He was originally an ally of Napoleon Bonaparte but this alliance was annulled when Napoleon fought with their allies, the Batavian Republic, due to the Batavians' betrayal of Napoleon's Westphalian allies.