جواو الثاني
The plan of the castle is an irregular quadrilateral polygon, defined by four walls, flanked by towers in the south, west and north. The "Porta da Vila" ("Town Gate"), in the southwest, is surmounted by a capstone with the coat-of-arms of King John II of Portugal, and opened to the courtyard where there are several older buildings.