 Donnelly was elected to Dáil Éireann as a Fianna Fáil Teachta Dála (TD) for the Leix–Offaly constituency at the 1933 general election.He did not contest the 1937 general election.He also served as Director of Elections for Fianna Fáil.