 He was born in Grey County, Canada West, the son of doctor John Mahaffy.In 1891, he married Alice Rosalie Thomson.He was elected to the provincial assembly in a 1903 by-election held after the death of Samuel Bridgeland.