Hastings was a member the New York State Assembly (Cattaraugus Co.) from 1963 to 1965, sitting in the 174th and 175th New York State Legislatures; and a member of the New York State Senate from 1966 to 1968, sitting in the 176th and 177th New York State Legislatures. He was a delegate to the 1968 and 1972 Republican National Conventions.