 The public proclamation was done through the Act of Independence in 1821.After the declaration of independence it was the intention of the New Spain parliament to establish a commonwealth whereby the King of Spain, Ferdinand VII, would also be Emperor of New Spain, but in which both countries were to be governed by separate laws and with their own legislative offices.Should the king refuse the position, the law provided for a member of the House of Bourbon to accede to the New Spain throne.