A teenage burglar who broke into a pub and stole a gambling machine has been locked up for two years.
Jack Hirst, 18, was sent to a young offenders institution for two years over the raid on the George IV pub in Hunslet, Leeds.
Leeds Crown Court heard Hirst was captured on CCTV as he damaged a window at the premises before climbing inside.
Hirst then unbolted the door to allow two other men inside at around 4.30am on January 23 this year.
The men then took a fruit machine and a till containing around £300 in cash.
The fruit machine was found abandoned the next day in the car park of a nearby church.
It is thought about £700 had been taken from the machine. More than £1,200 worth of damage was also caused during the break-in.
Hirst was arrested after being recognised on the CCTV footage. He was also linked to a theft which took place at the Morrisons store in Hunslet on January 3.
The two other men who took part in the burglary at the pub have not been identified.
Hirst, of Whitfield Gardens, Hunslet, pleaded guilty to burglary and theft. The court heard he has 29 previous convictions.
Marlon Grossman, mitigating, said Hirst had pleaded guilty to the offences at the earliest opportunity.
Mr Grossman said Hirst had become involved in committing offences after taking drugs and associating with other criminals.
The lawyer added that Hirst had been doing his best to stay out of trouble and would soon be a father.
Judge Sally Cahill, QC, said: “You are someone who repeatedly comes before these courts. Only an immediate custodial sentence will be sufficient.”