 McClelland was elected as a Democrat to the Forty-second Congress.He was an unsuccessful candidate for reelection in 1872.He resumed the practice of his profession, and died in Harrisburg, Pennsylvania, in 1892.