 In 1921 he joined Éamon de Valera's anti-treaty forces and remained a critic of partition until his death.He was interned and on his release was appointed Chief Organiser of Sinn Féin.While living in Newry, Donnelly was elected as an independent republican member of the Parliament of Northern Ireland for the Armagh constituency at the 1925 general election.