formerly the locality was part of the province of ribatejo