Dunglass Collegiate Church was founded in the 1440s. It remains largely complete with its stone-slabbed roof surviving although it bears damage from later use as a stable and coach-house. Its historic claims to fame is as the place where James I spent his last night on Scottish soil before proceeding to England to become the English monarch, James VI. It is also where Charles I spent the night before his coronation in 1633.
Collegiate churches were built to house a college of clergy. Their duties were to pray for the souls of the Lord and his family, such was the importance placed on ensuring the speedy passage of souls through purgatory and into heaven during the medieval period.