Robbins was elected as a Republican to the Fifty-fifth Congress. He was not a candidate for renomination in 1898. He resumed the practice of his profession in Greensburg. He was elected to the Sixty-fifth Congress and served until his death. He had been reelected to the Sixty-sixth Congress, but died in Somerset, Pennsylvania, before taking his seat. Interment in Saint Clair Cemetery in Greensburg.