hˈɑːfmən wʌz ᵻlˈɛktᵻd æz ɐ wˈɪɡ tə ðə twˈɛnti fˈɪfθ ænd twˈɛnti sˈɪksθ juːnˈaɪɾᵻd stˈeɪts kˈɑːŋɡɹəsᵻz, hˈoʊldɪŋ ˈɑːfɪs fɹʌm mˈɑːɹtʃ fˈoːɹ, wˈʌn θˈaʊzənd ˈeɪthˈʌndɹɪd θˈɜːɾi sˈɛvən, tə mˈɑːɹtʃ θɹˈiː, wˈʌn θˈaʊzənd ˈeɪthˈʌndɹɪd fˈoːɹɾi wˈʌn.
Hoffman was elected as a Whig to the 25th and 26th United States Congresses, holding office from March 4, 1837, to March 3, 1841.