Initially, both the Junta and Congress upheld the "rights of Ferdinand VII," meaning that they recognized themselves to still be part of the Spanish Monarchy, but had established a separate government due to the French invasion of the Iberian Peninsula.