Original: In 1932, when de Valera, having won that year's general election, was appointed President of the Executive Council (prime minister of the Irish Free State) he made O'Kelly his Minister for Local Government.
Simplified: In 1932, when de Valera,  was appointed President of the Executive Council (prime minister) of the Irish Free State he made Ó Ceallaigh Minister for Local Government.