Barry Delaney wore the dress after making a pact with Pte Kevin Elliott
A man who wore a lime green dress to a soldier's funeral has said he did it to honour a pact they made together.
Barry Delaney, 25, had agreed with Pte Kevin Elliott that when one of them died, the other should wear such a dress to his funeral.
Pte Elliott, from the Black Watch, was killed while on foot patrol in the Babaji District of Helmand province in Afghanistan on 31 August.
Mr Delaney wore the dress and neon pink socks to his funeral on Tuesday.
Describing Pte Elliott as a "true hero", Mr Delaney said that he was proud to have known him.
He said that his friend would have wanted him to keep the promise they made years ago.
"Kev was like my brother - we would have done anything for each other," he told the Daily Record newspaper.
"We said that whoever died first, the other one had to wear a pink dress with green spots to the funeral - and we shook on it.
"It was mainly his idea and the more I think about it, I'm sure Kevin knew something was going to happen."
Mr Delaney could not find a pink dress with green spots so he chose a green one from Primark and added pink socks to make the outfit look sillier.
He told the newspaper: "It's what Kev would have wanted."
Hundreds of mourners attended Pte Elliott`s funeral in St Mary's Church in Dundee.
He was laid to rest at Barnhill Cemetery where shots were fired at the graveside as part of the traditional military funeral.
Pte Elliott died alongside 40-year-old Sergeant Stuart Millar from Inverness.