The fortress of Palamidi is a true architectural masterpiece. This fort was built during the Venetian occupation in the early 19th century and consists of eight bastions, each was self contained, ensuring that if one bastion was breached the others could still be separately defended. The bastions were built one on top of the other and they all connected with one wall. The Venetians named the bastions by ancient Greek names, such as Leonidas, Miltiades, Achilles, Themistocles, to give emphasis on the strenght of the castle. Palamidi was also used as a prison for a period of time. In 1833, Theodoros Kolokotronis, one of the Revolution leaders was imprisoned here, charged with high treason. Prisoners were made to do physical labor and the 999 steps leading up to the fort were in fact built by the prisoners under the supervision of the Bavarian army.