On 18 September 1810, O'Higgins joined the revolt against the now French dominated Spanish government. The criollo leaders in Chile did not support Joseph Bonaparte's rule in Spain, and a limited self-government under the Government "Junta" of Chile was created, with the aim of restoring the legitimate Spanish throne. This date is now recognized as Chile's Independence Day. O'Higgins was a close friend of Juan Martínez de Rozas, an old friend of his father, and one of the more radical leaders. O'Higgins strongly recommended that a national congress be created, and was elected a deputy to the first National Congress of Chile in 1811 as a representative of the Laja district. Tensions between the royalist and increasingly pro-independence factions, to which O'Higgins remained attached as a junior member, continued to grow.