Original: It was a municipio of the San Juan province before being elevated to the category of province.
Simplified: It was a municipality of the San Juan province before being elevated to the category of province.