sentences:  The municipality is a geographical oddity and consists of five separate territorial entities within the "comarca" (district) of Pallars Jussa (see image).The town of Tremp (population 6228 as of 2009) is the second smallest of these and is situated in the valley of the Noguera Pallaresa river below Talarn and the Talarn Dam.The largest portion of the municipal territory lies to the west of the valley of the Noguera Pallaresa and stretches as far as the Noguera Ribagorçana river.