Hogan represented the 5th congressional district of Maryland from January 3, 1969, to January 3, 1975. Hogan did not run for re-election in 1974 and was unsuccessful that year in his candidacy for the Republican nomination for governor. He became county executive for Prince George's County, Maryland, in 1978 and served until 1982.