It is in district of SantarÃ m and is included in the urban agglomeration of Leiria , in central Portugal , 187 k south of Porto and 123 k north of Lisbon . It is in the district of SantarÃ m and is included in the urban agglomeration of Leiria , in central Portugal , 187 k south of Porto and 123 k north of Lisbon .