An illegal immigrant tried to use a card skimming device to defraud people out of money.
Vasile Varga, 30, admitted committing the crime in Huddersfield town centre on August 17 despite having been deported to Romania from the UK last December after a conviction for a similar offence.
Kirklees Magistrates Court heard that an eagle-eyed witness spotted Varga, who was living at Cowling Street in Salford, installing the device and rang the police who managed to catch him.
Varga, who appeared in custody, and another man hired a car and he got out and placed a skimming device into the debit card slot.
He was charged with possession of an article for use in fraud and being in breach of a deportation order.
“The witness noted the vehicle registration and he was caught on CCTV,” said Alex Bosnan, mitigating.
“The police found the vehicle soon after, which had in it gloves and a list of post codes of ATMs in the Huddersfield and Liverpool area.
“This device would have allowed Varga to gain a significant amount of money.
“He has a matter on his record from 2010 of dishonesty and was sentenced by crown court last year after committing a similar offence of possessing a skimming device.
Paulette Huntington, lead magistrate, sent Varga to Leeds Crown Court for sentencing on September 9.
He will be remanded in custody until then.