A man's change was stolen as he bought a packet of cigarettes from a petrol station.
Peter Antich was pushed away by Darren McGuin who then took the £15 being handed over to him by the cashier.
McGuin, of Greenwood Street in Primrose Hill, pleaded guilty to a charge of theft from a person.
The incident happened at the Esso Service Station in Oakes on April 4.
Mr Antich went to the counter of the New Hey Road garage, asked the cashier for some cigarettes and handed over a £20 note.
Prosecutor Alex Bozman said: “The cashier handed the change back and Mr McGuin reached over and pushed Mr Antich out of the way.
“He grabbed the £15 and ran out of the shop.”
The court heard that McGuin, 36, was identified via the store’s CCTV footage which showed him wearing a distinctive jacket.
This jacket was then recovered during a house search and confirmed as belonging to McGuin.
Carl Kingsley, mitigating, said that his client acted on impulse.
He told magistrates: “There was no level of premeditation here.
“The level of violence was very low and the push was not sufficient for the crown to say it was robbery rather than theft.”
Magistrates sentenced McGuin to a community order including non-residential mental health treatment.
He must also undergo a drugs rehabilitation requirement for six months and complete up to 10 days of rehabilitative activities.
McGuin has to pay £40 fine, £85 costs, £60 victim surcharge and £15 compensation.