sentences:  The Central American provinces declared independence from Spain on September 15, 1821.Cañas was one of the commissioners named by the legislature of El Salvador to oppose annexation to the Mexican Empire in 1822.Central America as a whole nevertheless supported annexation, and the region became part of the Mexican Empire in 1822.