A Glossop man punched two men outside a takeaway following a drunken row about football, a court heard.
Jamie Findlay admitted two counts of assault by beating at High Peak Magistrates Court on Thursday.
The incident occurred on October 26, outside Norfolk Pizza, on Norfolk Street, just after 3am.
The court heard that there was a fall out involving the 23-year-old defendant, who had drunk between eight to ten pints of Boddington beer and several Bacardi and cokes, and victim Andrew Williams.
Findlay, of Gladstone Street, punched Mr Williams and then Warren Bowler in the face, who was trying to break them up. After the attack, Findlay was seen running away down Henry Street.
The victims, who had been out at Harley’s Bar, were sat on the window ledge of Barclays bank, on High Street East, when the defendant approached them to talk about football.
Mr Williams and Mr Bowler left to go to the takeaway and Findlay followed them inside, saying: “I’ll knock you out!”
In witness Chelsea Cilgram’s statement, she said: “He was looking for a fight and wasn’t going to stop until he got one.”
Prosecutor John Cooper said of Findlay: “He accepts he has a temper and can get fired up drinking.”
Findlay, who was not represented, told magistrates: “It was totally out of character. It was the first time I’d been out in two years.” He added he had wanted to apologise to the victims, but his bail conditions had prohibited contact.
Chairman of the Bench Neil Broadbent said: “You’re lucky you’re not standing in front of us for manslaughter. One punch and they could have been bang on the floor dead.”
Findlay was given a 12-month community order with supervision for one year and a curfew for six weeks between 7pm and 7am. He must also pay £85 costs, a £60 surcharge and compensation of £125 to Mr Williams and £100 to Mr Bowler.