 Gunter was elected was Member of Parliament (MP) for Knaresborough in the West Riding of Yorkshire at a by-election in 1884 following the death of the sitting MP Thomas Collins.The Knaresborough constituency was abolished in the Redistribution of Seats Act 1885 .In the 1885 general election, Gunter was elected MP for the new Barkston Ash constituency.