BERGEN, Norway — After militants stormed his remote desert workplace last week, Liviu Floria, a Romanian gas worker, locked the door and sought refuge under a desk. For five hours, as he stayed hidden, he communicated by text message with a Romanian co-worker in another part of the sprawling In Amenas gas facility.
Then an ominous final message flashed on his cellphone from the colleague. “I am a hostage,” it said.
That colleague would later be found dead, Mr. Floria said, along with at least 36 other foreigners whom the Algerian government has identified as victims of the attack. But Mr. Floria’s story is one of both terror and salvation as he and seven others managed to scale the fence surrounding the compound, trek through the desert and escape death.
Mr. Floria saw the attack as it began last Wednesday. He and a colleague, George Iachim, were making their morning coffee when an alarm sounded. They rushed to the window and saw what looked like an action movie unfolding before them. Four men with assault rifles had gotten out of a car and were shooting at the guards stationed at the entrance.
“Out of a peaceful place, a normal place to work, in a few seconds it was transformed into a cemetery,” Mr. Iachim later told Romanian television.
After nearly two days of hiding from the hostage-takers, Mr. Floria and seven others decided their only chance at survival would come from climbing the fence and running away. They left around 2 a.m. for what became a harrowing desert trek, guided only by the flickering flame atop a gas well in the distance and a compass application on Mr. Floria’s iPhone.
Algerian officials said Tuesday that they were searching the Sahara for five missing foreigners, in the hopes that others might have escaped into the desert as Mr. Floria and the others did. “It’s ongoing,” said a senior Algerian official. “They’ve disappeared. We’re not going to just abandon them like that.”
Helge Lund, chief executive of Statoil, the Norwegian company that is one of the operators of the In Amenas plant, said Monday in a televised news conference that 12 of Statoil’s 17 employees had returned home, while “extensive searches in and around the plant at In Amenas and at hospitals in Algeria are taking place” for the other five. It was unclear whether the Algerians were referring to the Norwegians, who as of late Tuesday were still classified as missing rather than dead.
Mr. Floria recounted his experiences from back home in Romania on Tuesday. He was clearly still shaken by the experience and traumatized about the deaths of his colleagues, including two Romanians, and on Monday he had gone to a monastery to pray.
Mr. Floria, 45, said that he was no wildcat cowboy, no thrill seeker or adventurer, just a hard-working man hoping to provide a better life for his family. He had been employed in the oil and gas industry in Pitesti, Romania, for nearly 20 years when he was contacted through the job-networking Web site LinkedIn by an international recruiting agency.
The new job in Algeria as a mechanical foreman paid five times as much as he was making in Romania, where the industry was struggling and the future looked uncertain. With the money he earned, Mr. Floria hoped that he could send his teenage daughter to Britain for college and eventually buy himself a little house in the mountains. Safety was not a concern, he said.
He began work in 2010 and before long was used to the routine, one month in the Sahara working 12-hour days and one month back home.
The night before the attack, Mr. Floria went to bed early. It was a decision he said he believed might have saved his life. He woke up early, at 5:15 a.m., and he and Mr. Iachim drove in a Toyota Land Cruiser from the living area to the central processing facility a few miles away. They drove through the very gate that the militants would storm minutes later.
The two Romanians stayed all day and all night in the office, trying to keep quiet, subsisting on water and a few cookies they had with them. Long periods of silence were interrupted by minutes of gunfire and explosions. Mr. Floria tried to suppress his emotions and remain focused on staying alive.
“In my mind, the fate was we should escape from here,” Mr. Floria said. “I must stay calm, manage my feelings and we see what happens next.”
On Thursday afternoon, after more than 24 hours in hiding, they heard someone calling: “Anybody here? Anybody here?”
It was Lou Fear, one of the Britons. “When we heard his voice, we were very happy,” Mr. Floria said, relieved to have been found by others who had eluded capture.