Three offenders were handed sentences over an attack in Skipton that left a man with serious injuries.
Bradford Crown Court heard how Liam Millington, 20, and Niall Millington, 18, both of Sharphaw Avenue, Skipton, and a youth who cannot be named for legal reasons, punched and hit the victim with a golf club on 7 April last year.
Liam and Niall Millington were each handed 15 months in a young offender institution, suspended for two years.
The other defendant was given a youth rehabilitation order, with a supervision and programme requirement.

Former Wetherby Prison Worker Jailed Over Drug Smuggling Conspiracy
London Nursery to Pay £221,500 Compensation Following Child Abuse Case
Blackburn Rovers South Asian Supporters Win National Diversity Award
Progress Made on Multi-Million-Pound Shipley TrainCare Centre
Calls for Inquiry Into Bradford Council's £10 Million Tax Error
Wembley Ice Cream Vendor Murder Trial Hears Claims of Jealousy
Man Accused of Murdering Teenage Girl in East London Appears in Court
Nine-Year-Old Leeds Fundraiser Wins Community Award
Knife Crime Crackdown Continues Across Bradford and Keighley
Former London Irish Rugby Player Deported Following Sexual Assault Convictions
Police Appeal After Blood Discovered on Stalybridge Street
£265 Million Housing Investment Deal for Halifax-Based Together Housing
Remix Saturdays
The Golden Era
Bhangra Nights
Legal Show