title: Castellbell i el Vilar
text: # Castellbell i el Vilar
  
  Castellbell i el Vilar (Castellbell y Vilar in Spanish) is a municipality in the comarca of the Bages in Catalonia, Spain. It is situated at the point where the Llobregat river crosses the Prelittoral Range. The railway station serves both the FGC line R5 between Barcelona and Manresa and the Renfe line between Barcelona and Zaragoza. The C-1411 road links the municipality with Martorell and Manresa.
  
  Castellbell i el Vilar is known for its cotton industry, although agriculture is at least as important to the local economy. Castellbell castle (gothic, fourteenth century) was one of the two main points (along with Claramunt castle) controlling access to the lower Llobregat valley, and hence to Barcelona. The bridge over the Llobregat also dates from the fourteenth century.
  
  ## Demography
  
  | 1900 | 1930 | 1950 | 1970 | 1986 | 2007 |
  | - | - | - | - | - | - |
  | 2026 | 2952 | 3189 | 3527 | 3316 | 3479 |
  