 He unsuccessfully stood for Malmesbury in 1685.He served as private secretary to William of Orange from November 1688 to July 1689, and was returned to Parliament for Chipping Wycombe in 1689 and 1690.From April 1689 until his death he was secretary to the Treasury.