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.
Gunter was elected to serve as the representative for Knaresborough in the West Riding of Yorkshire in parliament through a by-election in 1884, which took place after the death of his predecessor, Thomas Collins.