The first rapid transit railway service in Barcelona was founded in 1863 by the private company "Ferrocarril de Sarrià a Barcelona" ("Railway from Sarrià to Barcelona", after 1916 Sarrià joined the municipality of Barcelona).