King Edward replaced the older motte and bailey castle with a much sturdier structure at the south end of Castle Loch around 1300 and its remains still show the massive strength of its defences. Archibald Douglas, Lord of Galloway, with the assistance of the Earls of March and Douglas, after a siege ofnine days, took Lochmaben Castle from the English and "razed it to the ground" on 4 February 1384/5. The castle and barony became a possession of the Earls of March, but when the 10th Earl was forfeited and then reinstated, in 1409, it is noted that it was "with the exception of the castle of Lochmaben and the Lordship of Annandale" which by July 1455 was in the possession of Alexander Stewart, Duke of Albany. Following his death in 1485 both the Lordship and the castle were annexed to the Crown by Act of Parliament dated 1 October 1487. A mason called Gluffar built a hall at the castle in 1504 and it was roofed with local timber. James IV visited and played cards with Lord Dacre on 23 August 1504. On 16 January 1509 Robert Lauder of The Bass was appointed Captain and Keeper of Lochmaben for three years. The castle was seized by Lord Maxwell, seeking to overthrow the Protestant monarchy in 1588. In response James VI besieged Lochmaben with the assistance of English forces. Gunpowder was sent from Edinburgh. The keeper David Maxwell and five others were hanged, despite the efforts of William Stewart of Monkton to negotiate a surrender. One of the king's soldiers was shot in the leg. In June 1592 it was said that Francis Stewart, 5th Earl of Bothwell dressed as a woman, had managed to infiltrate and capture the castle, which was kept by Sir John Carmichael, as part of an uprising against James VI. The castle was soon returned to crown control. In 1605 the Depute Lieutenant of the Borders, Sir William Cranstoun of that Ilk, was Keeper of Lochmaben Castle. Lochmaben Castle remained important and had a turbulent history until some time after the early 17th century by which time it had seen its last siege and was gradually abandoned. It is now protected as a scheduled monument. Lord Mansfield, the Earl of Mansfield, is the Hereditary Keeper of Bruce’s Castle of Lochmaben