David Murray became keeper of the garden, park, and Lomond Hills and was allowed to build a house on the site of the old castle, called the Castlestead or Nether Palace of Falkland. Lord Walden stayed for a night in August 1613. This house was inherited by the next keeper of the park, John Murray, 1st Earl of Annandale. The palace was occasionally used as a prison. In November 1608 James instructed David Murray to keep James Elphinstone, 1st Lord Balmerino prisoner in the tower of the palace, for treasonable correspondence with the Pope. Balmerino was released in October 1609.