 He gave a thanksgiving sermon 23 August 1705, for victories of the Duke of Marlborough in the War of the Spanish Succession.Given in St Paul's Cathedral, it was an elaborate effort for a full state occasion, and was published.It attracted also attracted controversy, with John Hughes writing "A review of the case of Ephraim and Judah, and its application to the case of the church of England and the dissenters", and Joseph Williamson replying.