During much of the dispute with the United States, governance of New Spain was in question. In 1808, Napoleon forced the Spanish king to abdicate the throne and appointed Joseph Bonaparte as the new monarch. A shadow government operated out of Cadiz during Joseph's reign. Revolutionaries within Mexico and the United States unsuccessfully combined to declare Texas and Mexico independent.
