David I granted the chapel at Corstophine to Holyrood Abbey in 1128. By 1158, it had become a church, with altars to Saint Anne and the Holy Trinity.
A burial chapel was added to the church in 1404 by Sir Adam Forrester, who died by 1405. The chapel was dedicated to John the Baptist. The chapel was erected into a collegiate church by his son Sir John Forrester.
The foundation of the current church (on the inner eastmost wall) says the church was built in 1429 in the same churchyard as the earlier parish church, and was completed by 1437. The sandstone church was built with a tower and stone, octagonal spire, rectangular chancel, and a nave with transepts. This included the absorption of earlier Gothic features from the previous building and the erection of the characteristic barrel vaults, which may have concluded by 1436.
In 1634, the collegiate church was dissolved and in 1646 the building became the parish church. At that time the 12th-century church was razed and a new aisle was added to the collegiate fabric.Stones from the former church were used to built the porch. In 1828, a restoration by architect William Burn resulted in a two-storey sacristy, renovation of the nave, removal of a 17th-century aisle, and building of a new aisle and transept.
The nave of the church showing the concrete vaults, which replaced the original stone vaults in 1905.
The church has Scottish heraldic panels and pre-Reformation relics. James Ballantine supplied the Victorian stained glass and Gordon Webster and Nathaniel Bryson supplied the 20th-century windows. Leonardo da Vinci's Last Supper was the inspiration for the heads on the carved corbels made by William Birnie Rhind. On the grounds are a war memorial, vault and gatehouse, surrounded by a boundary wall and cast iron gates.References:
Glimmingehus is the best preserved medieval stronghold in Scandinavia. It was built 1499-1506, during an era when Scania formed a vital part of Denmark, and contains many defensive arrangements of the era, such as parapets, false doors and dead-end corridors, 'murder-holes' for pouring boiling pitch over the attackers, moats, drawbridges and various other forms of death traps to surprise trespassers and protect the nobles against peasant uprisings. The lower part of the castle's stone walls are 2.4 meters (94 inches) thick and the upper part 1.8 meters (71 inches).
Construction was started in 1499 by the Danish knight Jens Holgersen Ulfstand and stone-cutter-mason and architect Adam van Düren, a North German master who also worked on Lund Cathedral. Construction was completed in 1506.
Ulfstand was a councillor, nobleman and admiral serving under John I of Denmark and many objects have been uncovered during archeological excavations that demonstrate the extravagant lifestyle of the knight's family at Glimmingehus up until Ulfstand's death in 1523. Some of the most expensive objects for sale in Europe during this period, such as Venetian glass, painted glass from the Rhine district and Spanish ceramics have been found here. Evidence of the family's wealth can also be seen inside the stone fortress, where everyday comforts for the knight's family included hot air channels in the walls and bench seats in the window recesses. Although considered comfortable for its period, it has also been argued that Glimmingehus was an expression of "Knighthood nostalgia" and not considered opulent or progressive enough even to the knight's contemporaries and especially not to later generations of the Scanian nobility. Glimmingehus is thought to have served as a residential castle for only a few generations before being transformed into a storage facility for grain.
An order from Charles XI to the administrators of the Swedish dominion of Scania in 1676 to demolish the castle, in order to ensure that it would not fall into the hands of the Danish king during the Scanian War, could not be executed. A first attempt, in which 20 Scanian farmers were ordered to assist, proved unsuccessful. An additional force of 130 men were sent to Glimmingehus to execute the order in a second attempt. However, before they could carry out the order, a Danish-Dutch naval division arrived in Ystad, and the Swedes had to abandon the demolition attempts. Throughout the 18th century the castle was used as deposit for agricultural produce and in 1924 it was donated to the Swedish state. Today it is administered by the Swedish National Heritage Board.
On site there is a museum, medieval kitchen, shop and restaurant and coffee house. During summer time there are several guided tours daily. In local folklore, the castle is described as haunted by multiple ghosts and the tradition of storytelling inspired by the castle is continued in the summer events at the castle called "Strange stories and terrifying tales".