On 29th August 1727 William Adam signed an agreement with the York Buildings Company granting him the tenancy of the coal and salt works at Tranent and Cockenzie for 12 years with the option of terminating the agreement at the end of each three years. and he decided to do so after nine years. He notified the York Buildings Company in March 1736. Adam’s decision gave rise to a large bundle of legal documents resulting from various hearings. Initially the York Buildings Company went to court to ask that a roup (auction) of the tenancy should be held in a legal setting, saying that they could not let it privately. The court agreed and set a date for the auction but then, in typical YBC fashion, they did do a private deal and let it to a Francis Grant.