Francisco Iriarte y Conde, governor of Occidente State declared Cosala the capital of the western state in 1826.