Two young men have been sent to a young offender institution after admitting to an aggravated burglary in Glossop.
Luke Turner, 20, of Brosscroft, Hadfield and Lewis Snowdon, 19, of Coronation Street in Denton, Manchester, pleaded guilty to forcing their way into a property in Freetown on August 16 2014.
At around 4am, a group of men forced their way into the property, by kicking down the door.
They then used a piece of wood to attack the woman inside as they tried to shut them out of the address. She suffered cuts and grazes.
Turner and Snowdon were identified following the burglary and were later arrested by officers.
The pair were sentenced at Derby Crown Court on Monday, December 7.
Turner was given five years after pleading guilty to aggravated burglary while Snowden was handed six years for admitting the same offence.
He was also given a further two years for pleading guilty to a robbery in Tameside, Manchester, in May this year.