The son of a man who was shot outside an Edinburgh casino has admitted carrying out a £1m scam.
Antony Demarco, 37, borrowed money he could not repay which resulted in his father being shot, Edinburgh Sheriff Court heard.
Tony Demarco, 64, survived the Gala Maybury Casino shooting in June 2008.
Jamie Robertson, 25, Imran Sakur, 35, Craig Kelbie, 35, and Francis McGlone, 39, were jailed in January for a total of 43 years for plotting to kill him.
Antony Demarco was caught by a fraud investigator at the Royal Bank of Scotland and was then investigated by Lothian and Borders Police.
The court heard when he was interviewed he made "full and frank" admissions to the police.
Demarco, from Midlothian, admitted carrying out the scam and obtaining credit loans and commissions amounting to £1,000,000 between 25 July 2008, and 31 July 2009.
His defence agent Joe Mooney said: "Unfortunately he made the decision to borrow some money from the money launderers in January 2008, shortly before his father was shot and he could not repay that.
"Various threats were made culminating in the shooting of his father in the head."
Sheriff James Scott refused bail and deferred sentence for background reports until later this month.
Demarco, a first offender, was remanded in custody.