Sintra, just about touches the north east outer suburbs of Lisbon. The medieval Moorish castle can be see up the hill.