A couple who agreed to marry if they were still single at 40 have tied the knot after a chance meeting.

Mhairi Gordon, 45, and Rhys McLellan, 43, went out in their 20s but parted ways in 1995.

They jokingly agreed that if they were both still single at 40 they should marry.

The couple randomly met 22 years later and after falling in love again, have now married.

Make-up artist Mhairi said: "I never forget the day we split up when we were young we said to each other if we are still single at the age of 40 we would get married.

"I still can't believe that we did it."

Mairi who describes Rhys as the love of her life, said in 2009 she randomly bumped into the electrician for the first time since they broke up.

She said: "I went to a fashion show with a friend who had been organising it for St Columbas Charity.

"Rhys was a volunteer for the charity and we all went for a drink after the show.

"There was definitely a spark between us, however, nothing was acted upon as we were both in committed relationships.

"I was living in Cornwall and he was in Leith, Edinburgh, at the time."

Three years later Mairi moved back to the Scottish capital after splitting up with her long-term boyfriend of 12 years.

While Rhys had a few relationships he was single for most of their time apart.

She said: "I bumped into his mum and sister in a shop in Leith, they gave me his number and I called him for a catch up.

"We met but I was still hurting from the previous breakup so again nothing happened and we parted ways.

"The next year I heard Rhys's mother was in hospital with cancer - I called him to pass on my condolences and to find out how she was doing.

"We started to date for a few months after as we were getting close again.

"But I was feeling scared about getting hurt and about us getting back together again, so I ended it, even though I had feelings for him and him."

It wasn't until 2015 when the childhood sweethearts finally decided to give it another go after Mairi had an accident.

She said: "We bumped into each other again and this time both of us felt the sparks fly.

"We were both single and the feeling for each other were still very much there.

"Soon after I had an accident at work and injured my knee - he was always there to make me laugh, do some shopping, make me food.

"That's when I realised he was just what I had always wanted and never really stopped loving him.

"He says I was always the love of his life. The next year we got engaged - it just felt right."

The pair got married on March 25, 2017 in the Thomas Morton Hall in Leith.

"In my eyes, I have married a very good one, we got there in the end.

"I sometimes think my mum has had something to do with it.

"She always did say 'what's for you, won't go by you.'"