The building to the right is the gunpowder magazine, built half-buried in the ground to minimise damage in case of explosion (built 1814).