 He served as a member of the Pennsylvania State House of Representatives in 1889 and 1890.He was an unsuccessful candidate for the Republican nomination for Congress in 1890.Shiras was elected as an Independent Republican to the Fifty-eighth Congress.