In 1821 Panama broke away from Spain & became a province of this country
... 1821, Peru gains independence Venezuela and Ecuador are liberated ... 
Venezuela, Ecuador, Colombia, and Panama all became part of an independent 
republic... [DOC] [TLE] Spanish American Independence :: The Spanish American republics [PAR] Part of the United Provinces of Central America until the region broke away in 
1838.