 The Duke employed Sir William Bruce to convert his Thirlestane Castle into a renaissance palace.During the Jacobite rising of 1745 the Jacobite leader, Charles Edward Stuart stayed at Thirlestane and his army camped in the parklands after their victory at the Battle of Prestonpans, however the Maitlands were not noted Jacobites and as a result escaped forfeiture.At the Battle of Waterloo in 1815, General Sir Peregrine Maitland commanded the Foot Guards.