When an explosion and gunfire rang out at an upmarket hotel complex in Nairobi, people hid under desks, cowered in bathrooms or hunkered down in their cars, some of them all through the 20-hour siege.
Here are some of the stories from survivors of the attack claimed by the Somali Islamist group Al-Shabaab on an upmarket hotel complex in the Westlands district of the Kenyan capital.
"Please tell my family I love them," 38-year-old Ronald Ng'eno wrote on Twitter in what he believed was his final goodbye.
Ng'eno, who was rescued after 11 hours in hiding, told AFP he was in his office where he worked as a communications officer for the Commission on Revenue Allocation when he heard "a massive blast followed by unending gunshots".
He and his colleagues tried to flee but quickly realised the gunmen were already inside.
"They started firing directly towards us and that was when we changed course and ran into the bathrooms located on first floor. Upon entering the bathroom I saw a small opening on the ceiling and that's where I hid momentarily."
First he sent a tweet to police to ask for help.
"But as the gunshots continued to grow louder and louder my hope of seeing my family again faded by the minute and that is when I decided to tweet my last message to my wife and two sons," he said.
"If I die I love the Lord and believe I will go to heaven please tell my family I love them. I love you Caleb, Mark and Carol," Ng'eno's tweet read.
After a while he climbed down from the ceiling to join about six others also hiding in the bathroom.
He continued to communicate with the police until his battery died at around 23:00, when the siege was still going on.
"Luckily, police had told that they would knock on the door in a specific way so as to identify themselves and at 02.30 on Wednesday we heard the knock and we knew help had finally come."
Brian Gatimu, a tour operator based inside the sprawling office park, which includes a luxury hotel and restaurants, credits his car's battery dying for his survival.
"I had left the lights on. Talk of God's doings," Gatimu told Capital FM News.
He said he was leaving his office and was delayed in the rooftop parking lot as he looked for someone to help him jumpstart his car.
Two minutes after his car's engine was ready, he heard a loud bang.
"I saw huge smoke billowing from the entrance."
He said he hid in his car for two hours, calling for help on Twitter, before police officers came to rescue him.
"My car is tinted. I stayed inside hoping all is well. I was shaken," he said.
Reuben Kimani, a barista working at the hotel, said he recognised at least one of the attackers, having served him coffee in the run-up to the assault.
"I knew one of them because he had a big scar on one of his hands," he said. "I saw them. They shot six of my friends, four didn't die but two succumbed."
He said the attackers yelled out "why are you killing our brothers and sisters in Somalia?" before opening fire.
He was rescued after several hours trapped inside the hotel.
Cyprian Otieno, a 23-year-old student, met a friend for lunch elsewhere in Westlands, and then decided to go to the Dusit where his friend wanted to grab a cocktail.
"All of a sudden we heard a weird BOOM followed by gunfire! Security guards at the entrance screamed 'get back, get back' in English and Swahili," he told AFP via Twitter.
He said some fled while others tried to hide, waiting about half an hour until they heard a voice shouting "kill them, kill them" in Swahili and more gunfire.
Terrified a group of about 20 people fled towards the back of the hotel.
"Sorry to say at that point it was every man for himself. We were all together in the beginning but after a few minutes the attackers began shooting... I can't even really remember what happened afterwards."
Tracy Wanjiru, 28, a manager at a salon housed in the complex, found herself in the middle of another Shabaab strike, five years after surviving an attack on the Westgate mall while she was six months pregnant.
Speaking to the Nation media group she said: "I was working there (Westgate) when the attackers stormed in, it was not easy just like today. All I can say is that I thank God."
After the first blast was heard at the DusitD2 complex, Wanjiru says she saw "human body parts in the midst of fire flames flying in the air".
After the rescue Wanjiru briefly recounted the attack on Facebook stating: "Guys am safe am out... I thank everyone for your concern am safe ... I just thank God am safe. It's a guy who came with an explosive ... the images in my mind are just so scary."
Sign up to News24's top Africa news in your inbox: SUBSCRIBE TO THE HELLO AFRICA NEWSLETTER