Career Kelley was elected to the Pennsylvania House of Representatives in 1864 and served through 1866.