and its famous statue of the Virgin Mary. Located on a hill over the Llobregat valley, it is a well known for its vistas. Ruins of the Tower of Sagàs, a small fortress from the 5th century. History Before the arrival of the Romans, Sagàs was inhabited by the Bergistani, an Iberian tribe. In book XXXIV of Ab Urbe Condita, Livy refers to Segestica, "an important and opulent city" ("Segesticam [...] grauem atque opulentam ciuitatem"), which most likely corresponds to Sagàs. According to Livy, Cato the Elder ordered that the walls of all Iberian towns between the Ebro river and the Pyrenees be dismantled in order to avoid further uprisings. Only Segestica resisted, and had to be "reduced by works and engines". The importance of this city in ancient times may explain the large number of pre-Latin place names (la Quar, Olvan, Merlès) found in the area directly around Sagàs. In Medieval times, the first written reference to Sagàs appears in a document from 903, describing the consecration of the Church of Sant Andreu by the Bishop of Urgell at the request of the locals, who built the church, and a priest named Galindó. The church is described as being "in territorio Bergitanensi in locum vocitatum Sagasse" (In Bergan territory, at a place called Sagasse). The current church of Sant Andreu was built somewhat later, on the same site as the original church. Little remains of the original structure, but thirteen graves, the remnants of the original church's cemetery, have been unearthed inside the nave of the current church. Though Sagàs originally was part of the County of Osona, in the 10th century it became part of the Berga, which was later incorporated into the Cerdanya. The Monastery of Sant Pere de la Portella (in the neighbouring municipality of La Quar) acquired much of Sagàs during the 11th century. For much of the Middle Ages, the town was ruled by the Barons of la Portella, though it eventually became part of the Barony of Pinós. It seems Sagàs has always been a farming town, with little strategic importance, although a small castle (about three metres by six metres at the base) was built there between the tenth and twelfth centuries. In 1994, Sagàs was ravaged by wildfires that burnt much of the comarques of Berguedà and Bages; much of the forest that once characterized the town was lost, and the