The present division of Vallès has its historical roots in the legal districts of Granollers and Terrassa, established in 1834. However, the first time this subdivision was explicitly used as sanctioned by law was in 1936, with the official division of Catalonia in comarques. In 2015, four of the municipalities in Eastern Vallès became part of a newly created comarca: the Moianès. Some parts of the Vallès region belong to the metropolitan area of Barcelona and the Àmbit Metropolità de Barcelona(metropolitan region of Barcelona), and is nowadays connected with Barcelona with public transportations systems such as FGC's so-called Metro del Vallès.