In 1808 , King Ferdinand VII of Spain abdicated in favor of Napoleon , who granted the throne to his brother , Joseph Bonaparte .
In 1808 , King Ferdinand VII of Spain abdicated in favor of Napoleon . Napoleon gave the throne to his brother , Joseph Bonaparte .