A microregion (Portuguese: Microrregião) was a legally defined area in Brazil consisting of a group of municipalities. They were abolished in 2017 and replaced by Intermediate and Immediate Geographic Regions.[1] Microregions were grouped together into mesoregions. In theory, Brazilian law provided for member municipalities to cooperate on matters of common interest, but in practice, the divisions were used primarily for statistical purposes by the Brazilian Institute of Geography and Statistics.[citation needed]