The town of Tremp is the head and home of both the municipality of the same name as well as the county of Pallars Jussà, the judicial party of Tremp and the archpriest homonymous, belonging to the bishopric of Urgell. The territory of the town of Tremp presently constitutes an enclave of its municipality, separated from the rest by the territory of Talarn.
The etymology of the name “Tremp” has been controversial and full of doubts. At least until now, there is no single etymological explanation accepted by all specialists in the subject. Joan Coromines devotes a long article to try to bring light on the origin of the name of the Pallars capital. He discards entry that the origin is the Latin word templum, and, instead, opts for a non-Indo-European root of an itatic origin brought here by the first Indo-European colonizers, the sorotaptes that had been on Venetoligian soil before reaching the current Catalan speaking territories. Coromines also postulates that it goes before the denonym, trempolins instead of the name of the city Tremp, and that in this case it would be the other way round to what is common: the name of the city would refer to the name of its settlers.
In the false act of consecration of the Seu d’Urgell, attributed to the year 819, there is already the inscription that says Trimplo.In the later documents where the name of the city appears, it is already mentioned in the current form.
The village of Tremp, which became a city on May 27, 1884, has a very small, modernized area, the city grows, at the expense of parts of the Talarn district, as has been said before.
The medieval town had been formed in the territory of the canonical, antic head-dean of Santa Maria de Tremp or Valldeflors, and it consisted of streets with clear medieval layout, surrounded by walls, that Pascual Madoz had seen and described in its Geographical Dictionary from 1845.
However, it must be said that in many moments of history, the role of capital had to be disputed with Talarn. Talarn, however, always had a more political and military role, linked to the old Order of Susterris, while Tremp acted more as a civil and commercial city.
The old town was formed by two cross-shaped streets (Soldevila-Capdevila and Peressall) that are located in a small square, and even smaller, irregular streets that fill the four quarters in to which the city is divided. The street of Peressall runs from east to west; At the far east there was the gate of Peressall, demolished in 1915; the streets of Capdevila and Soldevila, which are a continuity of each other, make it from north to south. At noon is called Soldevila street, as it slopes slightly towards the lower part: the sun of the town; Towards north, it is the street of Capdevila, which rises slightly towards the highest: the head of the town. At the end of the street of Soldevila there was another entryway, which disappeared in 1903.
At the top of the street of Capdevila there was also a portal, and in Carrer de Sant Roc – continuing towards the west outer walls of Peressall – a fourth entrance to the town.
The urban layout, with two crossed streets forming four approximately equal parts, recalls the distribution of a Roman military camp. It is one of the hypotheses confronted when it comes to explaining the birth of Tremp; There are no archaeological vestiges that can corroborate it, for now, but it remains a plausible hypothesis. In the southwest quarter of the town market was celebrated, in the square that received the name of the Mercadal. With the growth of the late nineteenth and early twentieth century, when the walls and portals of the town were destroyed, this Mercadal square was converted into a street, with an exit for the south. It became the widest street in Tremp’s old town.
At the northeast corner of the village’s enclosure was the parish church, formerly canonical of Santa Maria de Valldeflors de Tremp.