Other grounds of complaint were not difficult to make up, which found willing supporters in the opposition members of parliament. A disappointed suitor brought in a bill in 1693 complaining of his partiality. He was also accused of domineering over the other judges and of favouring the clients of his sons. Two bills were introduced without naming him but really aimed at him—one to disqualify peers from being judges and the other to confer on the Crown a power to appoint temporary presidents of the court. The complaint against him was remitted to a committee, which, after full inquiry, completely exculpated him, and the two bills, whose incompetency he demonstrated in an able paper addressed to the commission and parliament, were allowed to drop. He was also one of a parliamentary commission which prepared a report on the regulation of the judicatures, afterwards made the basis of a statute in 1695 supplementary to that of 1672, and forming the foundation of the judicial procedure in the Scottish courts for many years. On 29 November 1695 Stair, who had been for some time in failing health, died at his house in Edinburgh, aged 76, and was buried in the church of St Giles. His Edinburgh house, the former palace of Mary of Guise on the Castlehill was purchased by John Wightman of Mauldslie, a future Lord Provost of Edinburgh. It was redeveloped in 1843 to build New College. In 1695 there was published in London a small volume with the title A Vindication of the Divine Perfections, Illustrating the Glory of God in them by Reason and Revelation, methodically digested By a Person of Honour. It was edited by the two Nonconformist divines, William Bates and John Howe, who had been in exile in the Netherlands along with Stair, and is undoubtedly his work. Perhaps it had been a sketch of the " Inquiry Concerning Natural Theology " which he had contemplated writing in 1681. It is of no value as a theological work, for Stair was no more a theologian than he was a man of science, but it is of interest as showing the serious bent of his thoughts and the genuine piety of his character. Works Stair's major legal work, The Institutions of the Law of Scotland deduced from its Originals, and collated with the Civil, Canon and Feudal Laws and with the Customs of Neighbouring Nations, shows