On 8 May 1773, he married Harriet Burton (1751–1829), daughter of the Rev. Daniel Burton. Trevor was appointed to the Privy Council in 1797. He succeeded to the Viscountcy of Hampden on 20 August 1824, just three weeks before his death. He had no heirs, and the title became extinct at that time.
References
William Carr, "Trevor, John Hampden-, third Viscount Hampden (1748–1824)", rev. P. J. Jupp, Oxford Dictionary of National Biography, (Oxford University Press, 2004) [1], retrieved 22 Sept 2008.
This also uses information gleaned from the GenFam Families Database.