Complex sentence: Kilroy entered politics in August 1923 when whilst still in Gaol he was elected for the Republicans for South Mayo but due to the Oath of Allegiance he did not take his seat.
Split into simpler sentences: Kilroy entered politics in August 1923 when whilst still in jail. He was elected for the Republicans for South Mayo but due to the Oath of Allegiance he did not take his seat.