Rivadavia was active in both the Argentine resistance to the British invasion of 1806 and in the May Revolution movement for Argentine Independence in 1810. In 1811, Rivadavia became the dominant member of the governing triumvirate as Secretary of the Treasury and Secretary of War. Until its fall in October 1812, this government focused on creating a strong central government, moderating relations with Spain, and organizing an army.