 Flynn served as a state representative from 1912 to 1923.As a legislator, he sponsored the Townsend-Flynn Act, which guaranteed Kosher food to Jewish inmates in state prisons, the first such law in the United States.He also pushed for the abolition of the state property requirement for voters.