From 1870–76, he served in the Texas state Senate from the 5th district and temporarily was elected pro tempore for mid-November 1871 until the end of the Adjourned Session of the 12th Legislature.<ref>[https://www.lrl.texas.gov/legeleaders/leadership/ltgovbrowse.cfm Lieutenant Governors of Texas, 1846 - present]. ''Legislative Library Reference of Texas''. Retrieved May 25, 2023.</ref> During Flanagan's tenure, he opposed Governor Edmund J. Davis's anti-railroad actions and utilized his chairmanship of the Committee on Internal Improvements to push railroad legislation.<ref name=civilwartoreform/> | From 1870–76, he served in the Texas state Senate from the 5th district and temporarily was elected pro tempore for mid-November 1871 until the end of the Adjourned Session of the 12th Legislature.<ref>[https://www.lrl.texas.gov/legeleaders/leadership/ltgovbrowse.cfm Lieutenant Governors of Texas, 1846 - present]. ''Legislative Library Reference of Texas''. Retrieved May 25, 2023.</ref> During Flanagan's tenure, he opposed Governor Edmund J. Davis's anti-railroad actions and utilized his chairmanship of the Committee on Internal Improvements to push railroad legislation.<ref name=civilwartoreform/> |