Hostage crisis: What we know

He went on: "I had about seven litres of water. There was no food for two days, no telecommunications, no electricity, no running water. So I just lay still and relaxed.

"I made a gameplan for what I'd do if no-one came for me and listened to some music on my phone. I don't know if that was a good or a bad thing to do, as it could have attracted the bad guys. I slept most of the time really.

"There were RPGs and gunfire going on, so that's why I kept out of the way and didn't stick my head out."

Describing the moment he was freed, he said: "I just picked up my bag with my passport in and left everything else. I was escorted out by what looked like their special forces.

"They were very cautious because they didn't know if there were any terrorists around. They got us out quickly and safely."

Alan Wright, Aberdeenshire

Mr Wright, 37, of Portsoy, Aberdeenshire, described his ordeal in detail to Sky News.

He said he was working at the plant when the power went down - a fairly common occurrence.

It was not until they heard sustained gunfire that he and his colleagues decided to hide in an office. They got a satellite telephone, locked the door and stuck pieces of paper to the windows of the room so nobody could see inside.

One of the militants tried to trick workers into giving themselves away, he said, walking past saying "good morning" in a very friendly Arabic voice.

"That was the first moment when we thought we are in big trouble here," he said, but the man walked past, assuming the building had been emptied.

For the next nine hours, the group tried to stay out of sight, not knowing what was happening.

They then left the office for another room, and the foreign workers among the group grew concerned that the Algerian nationals would leave them - and inadvertently betray their position.

Mr Wright phoned home a few hours later to reassure his family, he said, although he was still in grave danger.

He spoke to his wife, declining to speak to his two young daughters as he did not want his last conversation with them to be on a crackly phone.

The next morning, despite initial doubts, Mr Wright went along with a plan by the Algerians to escape. He was given a hat to wear to make him "look less expat" and they cut the wire perimeter fence.

You fear the worst, you can't put into words how bad you feelAlan Wright

"The first cut of the fence, the wire and tension makes such a noise when it breaks and you knew it travelled to where the terrorists were," he said.

"But within 30 seconds they had both fences open and we were free to go, that was it."

They did not run, fearing to attract attention, and all the while not knowing who were the security forces and who were militants, as the kidnappers had dressed in uniforms.

Relief was mixed with unease, he said.

"We got about a kilometre into the desert and you can see the military point with eight or nine military personnel with guns pointing into our spot but also that they had identified us and were making tracks to come our way.

"Then you think 'Is it the terrorists or is it the gendarmes?' And for 20 minutes you're still not sure - we're down on our hands and knees with our hands up."

The group was then split into Algerians and foreign workers, and Mr Wright thought they had walked into the hands of the militants.

"You fear the worst, you can't put into words how bad you feel, it's something you never want to go through again."

But he was in safe hands, and Mr Wright applauded the courage of his Algerian colleagues in helping the expats escape.

He said: "The guys who had the option to surrender and be safe but decided to stay and help us escape, you'll be in debt to them for the rest of your life."

Iain Strachan, Renfrewshire

Mr Strachan, 38, was among four Britons who briefly spoke to an Algerian television station on Friday. In the interview, he said he was "very relieved to be out".

"Obviously we still don't really know what's happening back on site," he said.

"So, as much as we're glad to be out, our thoughts are with colleagues who are still there at the moment."

He said the Algerian army's assistance was "fantastic".

"I've never been so relieved as when they came and got us off site," he said.

"We thank them very much for that."

Stephen McFaul, Belfast

Mr McFaul, who had travelled to Algeria on an Irish passport, escaped his captors on the second day of the siege.

The 36-year-old was reportedly being transported in a convoy of jeeps in an attempt by the hostage-takers to leave the plant, when Algerian army helicopters fired on them.

The vehicle Stephen McFaul was in crashed, and he managed to escape. At one point explosives were placed around his neck by his captors.

Mr McFaul was reunited with his family on Sunday night in the UK, although not yet home in Northern Ireland.

His 13-year-old son Dylan had said he could not wait to give his father "a big hug".

Darren Matthews, Cleveland

"I am relieved to be going to see friends and family," Darren Matthews, 29, from Saltburn-by-the-Sea, told the Algerian TV station.

"I feel safe at the moment but I won't feel 100% happy until I'm back in the UK, when I am back with my family.

"My heart goes out to the guys that are still there and hopefully everyone comes home safe because, at the end of the day, it's only work. No-one should have to go through that just for a job."

His family said they had been "extremely worried" and were looking forward to having him home.

Martin Johnson, West Yorkshire

Motor engineer Martin Johnson, 62, of Todmorden in West Yorkshire, was freed on Friday.

He said he felt sorry for anybody who had been hurt and paid tribute to his rescuers.

"I think they did a fantastic job. I was very impressed with the Algerian army."

Others

Peter Hunter, 53, from Durham; Lou Fear, 56, from Louth in Lincolnshire; Mark Grant, 29, from Grangemouth, near Falkirk; David Murray, 47, from Kirkby in Merseyside; Huw Edwards, 55, from Macclesfield in Cheshire.

Are you, or is someone you know, affected by the issues in this story? Send us your experiences using the form below.

Required field

Your contact details:

Name
Your E-mail address
(Required field)
Town & Country
Your telephone number

Your feedback:

Comments
(Required field)

If you are happy to be contacted by a BBC journalist please leave a telephone number that we can contact you on. In some cases a selection of your comments will be published, displaying your name as you provide it and location, unless you state otherwise. Your contact details will never be published. When sending us pictures, video or eyewitness accounts at no time should you endanger yourself or others, take any unnecessary risks or infringe any laws. Please ensure you have read the terms and conditions.