Gunning was born into a family of clergymen and lawyers from Kent.
At the Restoration Gunning was restored to his Cambridge fellowship (in the process ousting John Tillotson, the future archbishop of Canterbury). Seen as a safe pair of hands in Cambridge, he was nominated by the king to the Lady Margaret chair in divinity in July 1660: ‘some demur’ was overruled by the king’s orders for ‘his immediate admission, notwithstanding any statute to the contrary’. His nomination by the king to the mastership of Benet (Corpus Christi) College was likewise initially rejected by the fellows.
Gunning took an active role in the Savoy conference: Richard Baxter acknowledged his ‘study and industry’ and his ‘very temperate life’, but found him ‘so vehement for his high imposing principles, and so over-zealous for Arminianism and formality and Church pomp’, and his ‘passionate invectives’ an obstacle to liturgical compromise.
At St John’s, he forged the college into such a bastion of loyalty that, after the 1688 revolution, it produced more non-jurors than any other Cambridge college.
The death of Henry King, bishop of Chichester, on 30 Sept. 1669 led to much speculation about his successor. According to one newsletter it was ‘tossed up and down to several’ before Gunning accepted the post.
Gunning took his seat in the Lords on 21 Mar. 1670 (one week after the start of the 1670–1 session) but attended for only eight days that month, his attendance coinciding with debates on the divorce bill for John Manners, Lord Roos (later 9th earl and duke of Rutland). On 28 Mar. he registered his dissent against the passage of the bill. He was present in the House the following day but was then absent for a year, not appearing in the House again until 24 Mar. 1671, possibly attracted by the debate on the growth of popery. On two occasions during this long absence (14 Nov. 1670 and 10 Feb. 1671) he was registered as excused at a call of the House.
Parliament was prorogued on 22 Apr. 1671 and Gunning became absorbed in university politics, supporting the election of George Villiers, 2nd duke of Buckingham, to the chancellorship against the candidacy of Henry Bennet, Baron (soon to be earl of) Arlington.
Gunning returned to the House for the opening of the second session of 1673 and attended every sitting of the week-long session. On 6 Nov. 1673 the contested Chichester by-election saw the return of the town’s recorder, Richard May‡. There is no evidence that Gunning exerted himself on behalf of either of the candidates and the campaign appears to have reflected local interests rather than national politics.
Gunning attended 77 per cent of sittings in the first session of 1675 and was named to 14 select committees. It is probable that he spent the summer months in his new diocese. On 2 Oct. 1675, in anticipation of the new session, he received the proxy of Anthony Sparrow, bishop of Exeter; he took his seat for the second 1675 session when it opened on 13 October. He attended 95 per cent of sittings and was named to eight select committees. On 20 Nov. 1675, Gunning used Sparrow’s proxy when he voted against the address for the dissolution of Parliament. Remaining in London, he attended a meeting at the Guildhall about the rebuilding of St Paul’s on 2 Dec. 1675.
During the recess, on 10 July 1676 (although the date is possibly in error), Gunning received the proxy of his old friend Isaac Barrow. Seven months later, on 10 Feb. 1677, just five days before the opening of the 1677–8 session, he also received the proxy of James Fleetwood, bishop of Worcester, which he held until 7 Feb. 1678. He attended the House for this lengthy session for nearly 84 per cent of sittings and was named to 47 select committees. He was absent for a short period at Michaelmas 1677, when he travelled to Cambridge to consecrate the new chapel at Emmanuel College.
The autumn parliamentary session opened on 21 Oct. 1678 against the background of the Popish Plot. Gunning attended the House for the first day of business, was present for 82 per cent of sittings and was named to two select committees and to all three sessional committees. He again received James Fleetwood’s proxy, which was registered to him on both 13 and 30 Oct. and vacated with Fleetwood’s attendance on 23 Dec. 1678. On 4 Nov. he examined the Lords’ Journal. During this session, Gunning played a prominent role in the passage of the Test Act. The wording of the bill was unambiguous in its attack on Rome, describing the Catholic mass as guilty of image worship, a sentiment with which he could not agree. On 15 Nov. 1678, following a debate in a committee of the whole House on the declaration against transubstantiation, Gunning voted against it being under the same penalty as the oaths. On 19 Nov., together with Sancroft and John Dolben, bishop of Rochester, he voted against the legislation, on the grounds that it declared the practices of the Church of Rome idolatrous. Gunning was challenged in the debate by the strongly anti-Romanist Thomas Barlow, bishop of Lincoln, though the House ‘did not much mind Gunning’s arguments’ anyway and passed the bill.
Elections to the first Exclusion Parliament in 1679 were fiercely contested but, while it seems likely that Gunning played a role in Cambridge as well as in the county, there is no evidence of his activities. His involvement in the election for Cambridge University burgesses is much clearer. He openly supported the sitting candidate, the high church Sir Charles Wheler‡, but Wheler and his running mate, Thomas Crouch‡ (a Member already under Gunning’s influence), were replaced by Sir Thomas Exton‡ and James Vernon‡, the latter supported by the university’s chancellor, James Scott, duke of Monmouth.
When the new Parliament assembled on 6 Mar. 1679, Gunning attended four sittings in the abortive first week and was named to the three sessional committees. He took his seat for the ensuing session on 18 Mar. and then attended for 92 per cent of sittings, being named to ten select committees and again to all three sessional committees. Gunning was an opponent of Danby’s attainder and on 14 Apr. he voted against the passage of the attainder bill. Ten days later, he was listed as having voted to disagree with the Commons in the case of the Danby attainder; unlike six of his fellow bishops, he did not leave the chamber rather than vote in a matter of blood.
Meanwhile, on 7 Apr. 1679, Roger Morrice recorded a rumour set on foot by John Sidway (or Sedway) that, when Sidway was in Rome, the Catholic Cardinal Barbarini had intimated that Gunning and three other English bishops would support England’s reconversion to Catholicism.
Parliament was dissolved on 12 July 1679, sparking another round of canvassing for the ensuing general election. Gunning’s interest was once more deployed in support of Sir Charles Wheler in the August elections for Cambridge University, against the king’s candidate, Sir William Temple‡, on the grounds of Temple’s supposed atheism; in the event, Wheler gave way to Temple and did not even attend the poll. In September 1679 Gunning was consulted by Lawrence Womock, later bishop of St Davids about his pamphlet defending episcopal voting rights in capital cases.
On 26 Dec. 1680 Gunning officiated at a London parish communion where the communicants (who included Titus Oates and Sir John Reresby‡, 2nd bt.) joined the bishop for dinner. Oates spoke out rashly against James Stuart, duke of York, and against several Catholics at court, in a manner that Gunning described as Oates’s ‘usual discourse, and that he had checked him formerly for taking so indecent a liberty, but … to no purpose’.
Throughout the politically bad-tempered spring of 1681, with waves of protest against the dissolution and equally impassioned counter-protest, Gunning and Womock held a number of discussions about ways to represent their ‘sense touching Parliaments’ to the king – presumably in response to Whig addresses. Gunning and Womock became increasingly close and on 17 Aug. 1681 Gunning, who had already recommended Womock to the commission of the peace for both Cambridge and the county, now recommended him to the deanery of Ely, affirming the latter’s ‘constant service of his majesty’ and his ‘learned and orthodox and seasonable’ publications.
During 1682 Gunning conducted a diocesan visitation.
Gunning’s complex will, which included seven separate codicils, instructed seven friends to index and revise his writings. His sole executor was the prebend of Ely, William Saywell. Unmarried, Gunning distributed his estate widely, singling out nobody in particular but making special mention of those of his relatives who bore his surname. When he first composed his will in 1679 he was able to bequeath (in addition to pre-existing charitable expenditure) some £700; the seven codicils written over the following five years increased his legacies by £2,700. He had spent lavishly on charitable and educational works and lent £1,000 to Francis Turner, bishop of Rochester, his successor as bishop of Ely, and like Gunning a former master of St John’s and vice-chancellor of Cambridge, towards the latter’s building projects.
