An IT expert who siphoned off more than £1m from his council employers has been ordered to pay back £49,979.

Mark Conway, 52, is serving five years and four months in prison after being convicted of faking invoices to divert public money to settle online gambling debts.

The computer specialist defrauded Dundee City Council of £1,065,085 between August 2009 and May 2016.

The council has only so far recovered £7337 of the money taken by Conway.

On Monday, prosecutors used proceeds of crime legislation to take Conway back to court and to get him to agree to hand over £49,979.

Defence counsel Gavin Anderson told judge Lady Carmichael his client had agreed to sell his home in Brechin, Angus, to raise the sum.

A court earlier heard Conway made entries in the council's computer system pretending to represent sums owed to genuine suppliers.

Rather than making transfers to them, he had the funds paid into his own bank and building society accounts.

Ms Guinnane said: "He was the council's primary specialist in financial IT systems, given wide access to computer systems.

"During 2009 the accused had become indebted due to his use of gambling websites. In an effort to obtain further funds to pay off a credit card bill, the accused created an entry to reflect a legitimate sum invoiced by Scottish Fuels.

"But the invoice contained the account details of Conway's Nationwide building society account rather than that of Scottish Fuels."