A man has been jailed for 10 years after admitting his part in an armed robbery in Derbyshire 25 years ago.
Alan Murray, 59, of Pilmoor, near York, raided the Lloyds Bank in Cromford in 1985.
Derby Crown Court heard Murray had admitted at an earlier hearing robbery, causing grievous bodily harm with intent and possessing an imitation gun.
He was caught after fingerprints from the scene were matched to a new national database.
A security guard was injured when struck in the face with the butt of a gun.
The offenders made off with more than £7,000, leaving the scene in a Ford Escort, which was later found abandoned in Belper.
Judge Andrew Hamilton said: "There should be a lot of people shaking in their beds wondering if officers are not going to to be knocking on their doors now the police have a national fingerprint database."
Two other men involved in the robbery have never been traced.