The Monastery is a historical novel by Sir Walter Scott. Along with The Abbot, it is one of Scott's Tales from Benedictine Sources and is set in the time of Mary, Queen of Scots, and the Elizabethan period. The action is centred around the Monastery of Kennaquhair, probably based on Melrose Abbey in south east Scotland, on the River Tweed. At this time, circa 1550, the Scottish Reformation is just beginning, and the monastery is in peril. A love story is interwoven as the Glendinning boys fall in love with Mary Avenel. Edward ends up becoming a monk, and Halbert finally marries Mary, after service with the Earl of Murray.