The only monarch from this dynasty was Joseph I, imposed by his brother Napoleon I of France after Charles IV and Ferdinand VII had abdicated. The title used by Joseph I was "King of the Spains and the Indias, by the Grace of God and the Constitution of the State". He was also later given all of the titles of the previous kings. A government in opposition to the French was formed in Cádiz on 25 September 1808, which continued to recognize the imprisoned Ferdinand VII as king. This government was diplomatically recognized as the legitimate Spanish government by Britain and other countries at war with France.