Five men who took part in an early morning sulky race on the main Cork to Limerick road have been jailed in Cork District Court.
The five were told they had shown a lack of respect for the people of Cork and a total disregard for other road users.
Sulky racing involves horses pulling two-wheeled sulky carts or harnesses and riders.
Footage of the race in heavy early morning commuter traffic on 5 May last year caused a sensation when it was uploaded to YouTube.
The court was told that it was fortunate no-one was injured.
Refusing an application for community service, Judge Olann Kelleher sentenced five of the six defendants to five months in prison and disqualified them from driving for six years.
The five, who pleaded guilty to a number of charges including dangerous driving, were named as Patrick O'Brien, 25, of Woodford, Rossa Avenue, Bishopstown and James O'Brien, 28, of Inishannon Road, Fair Hill, Cork.
Daniel Stokes, 46 and Christopher Roche, 41, both of Knocknaheeny halting site and Bernie McDonagh, 20, Nash's Boreen halting site, Cork.
Sentencing in the case of a sixth defendant James Stokes, 18, of St Anthony's Park, Knocknaheeney was adjourned until 2 March for a probation report.
Donal Daly, solicitor for five of the defendants, said such races are a tradition going back many years.
However, on this day more people than usual turned up to watch and a "normal race situation got out of control".