hˈæmlɪŋ kəntˈɛstᵻd sˈaʊθpoːɹt ɪn nˈaɪntiːnhˈʌndɹɪd fˈoːɹɾi fˈaɪv, lˈɪvɚpˌuːl wˈeɪvɚtɹˌiː ɪn nˈaɪntiːnhˈʌndɹɪd fˈɪfti ænd nˈaɪntiːnhˈʌndɹɪd fˈɪfti wˈʌn, wˈʊlwɪtʃ wˈɛst ɪn nˈaɪntiːnhˈʌndɹɪd fˈɪfti fˈaɪv ænd nˈaɪntiːnhˈʌndɹɪd fˈɪfti nˈaɪn, ænd tˈoːɹkiː æt ðə nˈaɪntiːnhˈʌndɹɪd fˈɪfti fˈaɪv baɪᵻlˈɛkʃən, bᵻfˌoːɹ hiː wʌz fˈaɪnəli ᵻlˈɛktᵻd æz mˈɛmbɚɹ ʌv pˈɑːɹləmənt ˌɛmpˈiː fɚðə wˈʊlwɪtʃ wˈɛst kənstˈɪtʃuːənsi æt ðə nˈaɪntiːnhˈʌndɹɪd sˈɪksti fˈoːɹ dʒˈɛnɚɹəl ᵻlˈɛkʃən, ænd hˈɛld ðə sˈiːt ʌntˈɪl hɪz dˈɛθ ɪn nˈaɪntiːnhˈʌndɹɪd sˈɛvənti fˈaɪv, ˈeɪdʒd sˈɪksti tˈuː.
Hamling contested Southport in 1945, Liverpool Wavertree in 1950 and 1951, Woolwich West in 1955 and 1959, and Torquay at the 1955 by-election, before he was finally elected as member of parliament (MP) for the Woolwich West constituency at the 1964 general election, and held the seat until his death in 1975, aged 62.