Built in the 16th century and formerly the Old Customs House ( Alfandega Velha ) , the oldest parts of this building lie inside the imposing gateway .
The building was built in the 16th century and was formerly the Old Customs House .