 In 1868 he was elected to Parliament for Sligo Borough, although the election was later declared void and the borough disenfranchised for corruption.Eighteen months later, in May 1870, he contested a by-election in Mallow on the platform of Isaac Butt's fledgling Home Government Association, but was defeated.Knox died at his home in Dublin on 24 January 1873, of scarlet fever.