He was reelected in 1879 .
He was resigned in 1882 to contest the federal seat , losing to William Edward O'Brien by three votes .
He was reelected in 1879 but resigned in 1882 to contest the federal seat , losing to William Edward O'Brien by three votes .