Bernardo O'Higgins accepted the position instead, and became the leader of an independent Chile. He was granted dictatorial powers as Supreme Director on 16 February 1817. On 12 February 1818, Chile proclaimed itself an independent republic. Throughout the war with the royalists, O'Higgins had engaged in an ongoing feud with José Miguel Carrera. After their retreat in 1814, O'Higgins had fared much better than Carrera, who found little support forthcoming from San Martín, O'Higgins' political ally. Carrera was imprisoned to prevent his involvement in Chilean affairs; after his escape, he ended up taking the winning side in the Argentine Federalist war, helping
Republic of Texas by the Spanish governor, Manuel María de Salcedo. Their victory at the Battle of Rosillo Creek convinced Salcedo to surrender on April 1, 1813; he was executed two days later. On April 6, 1813, the victorious Republican Army of the North drafted a constitution and declared the independent Republic of Texas, with Gutiérrez as its president. Soon disillusioned with the Mexican leadership, the Americans under Kemper returned to the United States. The ephemeral Republic of Texas came to an end following the August 18, 1813 Battle of Medina, where the Spanish Army crushed the Republican Army of the North. The