 The territory was part of the parish of Caprica until 1926, before becoming an enclave Trafaria until 1949.The urban agglomeration was classified as a town on 9 July 1985, and elevated to the status of city on 9 December 2004.It was the only freguesia in Almada which has not suffered any changes with the administrative reform of 2013.