Castellar del Riu
| Castellar del Riu | |
|---|---|
| Pi de les tres branques, considered a symbol of the united Catalan Countries | |
| Location in Berguedà | |
| Coordinates: 42°07′59″N 1°42′36″E / 42.13306°N 1.71000°E | |
| Country | Spain | 
| Community | Catalonia | 
| Province | Barcelona | 
| Comarca | Berguedà | 
| Government | |
| • Mayor | Adrià Solé Giralt (2015) (CiU) | 
| Area | |
|  • Total | 32.7 km2 (12.6 sq mi) | 
| Elevation | 1,234 m (4,049 ft) | 
| Population  (2018) | |
|  • Total | 165 | 
| • Density | 5.0/km2 (13/sq mi) | 
| Demonym | Castellanenc | 
| Website | castellardelriu | 
Castellar del Riu (Catalan pronunciation: [kəstəˈʎa ðəl ˈriw]) is a municipality in the comarca of Berguedà, Catalonia, northern Spain. The municipal government is located at Llinars, which is not a village but just a few municipal buildings including a small sports centre.