The Cave of Hercules is a subterranean vaulted space dating back to Roman times located in the alley of San Ginés. The cave is under the Church of San Ginés.
The structure was likely constructed in the time of the Roman Empire, probably towards the second half of the 1st century, when it was used as a water reservoir. It is located in the east corner of the current courtyard and was built in two construction phases. It was covered with a barrel vault, realized in ashlar, and displayed the aspect of a great tank to the open sky, with an overflow at the edge. The first half of the wall, made in Roman concrete and covered with Opus signinum, is preserved, and overlooks San Ginés alley.
The structure was deeply altered with the construction of an arcade of three arches of ashlars in the southwest side. This divides the primitive one in two and currently separates it from the other half of the deposit, belonging to No. 2 of San Ginés street. It is unknown whether this change occurred in the first or second phase of construction. The second half of the northeast wall that faces the street was constructed in the second Roman phase. A facade was built in Opus quadratum of seven rows of ashlars of varying size, which is attached to the northeast lateral wall of the hydraulic structure of the first phase. The size was increased from the northwest to the southeast by creating a new line of orientation to the wall, which is the one that generates the trapezoidal plant that will have the nave. In this space, different rupture interfaces are observed along the entire surface.
In the Visigothic era, it is probable that there was a Visigothic church on the property. In the Al-Andalus period, constructions were developed, probably a mosque, in whose walls were embedded Visigothic reliefs. This mosque followed a structure similar to others of the city, being a small oratory with practically square plant, four interior columns and nine vaults or domes.
The first references to this property as the church of San Ginés come from 1148. At the end of this Late medieval epoch, or the beginning of the Early modern age, a series of changes were made, such as the creation of five individual chapels.
The building deteriorated during a prolonged period of the Early modern era. Abandoned and closed to the public during the 18th century, the church was demolished in 1841. The wall of the entrance, where several Visigothic reliefs are embedded, was partially preserved, as were the remains of the sacristy. The lot, including the vaults beneath, was put up for sale and was parceled out among several neighbors.
First record of Kastelholma (or Kastelholm) castle is from the year 1388 in the contract of Queen Margaret I of Denmark, where a large portion of the inheritance of Bo Jonsson Grip was given to the queen. The heyday of the castle was in the 15th and 16th centuries when it was administrated by Danish and Swedish kings and stewards of the realms. Kastelhoma was expanded and enhanced several times.
In the end of 16th century castle was owned by the previous queen Catherine Jagellon (Stenbock), an enemy of the King of Sweden Eric XIV. King Eric conquered Kastelholma in 1599 and all defending officers were taken to Turku and executed. The castle was damaged under the siege and it took 30 years to renovate it.
In 1634 Åland was joined with the County of Åbo and Björneborg and Kastelholma lost its administrative status.