The backgrounds of those killed or wounded in Dallas during a protest over recent police shootings of black men are emerging.
Five police officers were killed and seven others wounded in the deadliest day for US law enforcement since the September 11th, 2001, terrorist attacks. Two civilians were also shot.
Below are details of some of those killed and wounded.
Police officers killed
Mr Thompson (43), had worked as an officer with the Dallas Area Rapid Transit (Dart) authority for the last seven years. There he found love, marrying another transit officer within just the last two weeks, according to Dart chief James Spiller.
On Thursday, he became the first Dart officer killed in the line of duty since the agency's police force was founded in 1989, according to spokesman Morgan Lyons.
Mr Thompson had six grown children from a previous marriage and had recently welcomed his third grandchild, according to Tara Thornton, a close friend of Mr Thompson's 22-year-old daughter, Lizzie.
Ms Thornton said Mr Thompson and his close-knit family would often get together and have classic rock singalongs, with Ms Thornton and his son Jake playing guitar. He lived an hour's drive south of Dallas, in Corsicana.
“He was a brave man dedicated to his family,” said Ms Thornton. “He loved being a police officer. He instantly knew that’s what he wanted to do. He knew he wanted to save lives and protect people. He had a passion for it.”
Before joining the Dart force, Mr Thompson worked from 2004 to 2008 for DynCorp International, a private military contractor.
According to Mr Thompson’s LinkedIn page, he worked as an international police liaison officer, helping teach and mentor Iraqi police.
Mr Thompson's last position was as the company's chief of operations for southern Iraq, where he helped train teams covering Baghdad to the southern border with Kuwait.
He also worked in northern Iraq and in Afghanistan, where he was a team leader and lead mentor to a southern provincial police chief.
"We are deeply saddened by the tragic loss of one of our alumni," said Mary Lawrence, a spokeswoman for Virginia-based DynCorp. "Our thoughts and prayers are with his family and friends in this most difficult time."
Mr Zamarripa had an urge to serve - first in the US navy, where his family said he did three tours in Iraq, and then back home in Texas as a Dallas police officer.
"He went over there (to Iraq) and didn't get hurt at all, and he comes back to the States and gets killed," his father, Rick Zamarripa, said.
He described his son as hugely compassionate, saying: “Patrick would bend over backward to help anybody. He’d give you his last dollar if he had it. He was always trying to help people, protect people. As tough as he was, he was patient, very giving.”
Mr Zamarripa, who would have turned 33 next month, was married with a toddler and school-age stepchild. He joined the navy shortly after high school in Fort Worth, serving eight years on active duty and then in the reserves, according to the navy.
The navy does not release deployment details, but a Dallas Morning News reporter had encountered Mr Zamarripa in 2004 as he guarded an offshore Iraqi oil platform.
“We’re protecting the backbone of Iraq,” Mr Zamarripa, a petty officer who also used the first name Patricio, told the newspaper. “A terrorist attack here would send the country down the drain.”
After doing security work in the navy, a police career seemed a natural fit once he returned to Texas in 2009.
Mr Zamarripa joined the Dallas force about five years ago and was recently assigned to city centre bicycle patrols, his father said.
Mr Zamarripa realised policing could be dangerous. His father recently put him in touch with an in-law who works elsewhere in government, hoping his son might leave the force.
“No, I want to stay here,” was the reply, according to his father. “I like the action.”
Rick Zamarripa knew his son was assigned to patrol Thursday’s demonstrations, so when he saw news of the shooting on TV, he texted his son to make sure he was all right.
The father did that whenever he heard officers were in danger. Typically, his son would text back quickly to say he was fine and would call back later.
This time, no reply came.
Mr Zamarripa is survived by his wife, Kristy Villasenor, whom he had known since high school, their two-year-old daughter Lyncoln and a 10-year-old stepson.
Mr Krol (40), was a caring person who had always wanted to help others, his mother said.
"He knew the danger of the job but he never shied away from his duty," Susan Ehlke, of Redford, Michigan, said in a prepared statement the day after her son was killed.
Mr Krol's family said he moved to Dallas to become a police officer in 2007 because Detroit was not hiring. He had worked in security at a local hospital, then been a deputy at the Wayne County jail. He graduated from the Dallas Police Academy in 2008.
Family members told the Detroit Free Press that Mr Krol had no children, but had a girlfriend in Dallas.
He had texted her on the night of the protest saying everything was going peacefully. She later told Brian Schoenbaechler - Mr Krol's brother-in-law - that she became concerned when word spread about shots being fired and Mr Krol was no longer answering his phone.
Mr Krol, who was athletic and had a love for basketball, was known for helping others, according to family and friends.
“He was a guy that was serving others,” said Mr Schoenbaechler. “And he gave his life in service of others.”
Mr Smith (55), was a veteran officer who was once selected by the Dallas Police Association for the Cops’ Cop award.
Fr Michael Forge, pastor at Mary Immaculate Catholic Church, notified parishioners of Mr Smith's death in an email. Mr Smith, his wife Heidi and their two daughters were part of the parish in Farmers Branch, north of Dallas.
"As you may have heard by now officer Mike Smith, husband of fourth grade teacher Heidi Smith and father of Victoria (Class of 2016) and Caroline (incoming 4th grade) was shot and killed last night in Dallas while on duty," Fr Michael wrote.
“I’m asking all of us to pull together in prayer and support for the Smith family, as well as the other officers’ families who were killed along with Mike.”
Mr Smith was a US army ranger before joining the Dallas Police Department in 1989.
He was recognised as conscientious and for his positive attitude, according to a 2009 newsletter for the Dallas Police Association. He strove for excellence, often attending advanced training at his own cost.
Several years ago he intervened when a gang member lunged at his partner. Mr Smith was cut on the head during the incident and received 31 stitches.
He was a volunteer at the YMCA and his church, and was involved in working with children at risk, and once developed a sports programme for youngsters at the local YMCA, the newsletter said.
"He's just a really nice guy. He loved his wife, loved his daughters. He spent time with his family. The whole situation is really sad," Vanessa Smith, a friend of the officer's wife who is not related to the family, said.
Mr Ahrens was 6ft 5in and 21 stone, which certainly "helped him in his work" as a Dallas police officer, his father-in-law Charlie Buckingham told the Washington Post.
The former semi-pro football player rose from dispatcher at the Los Angeles County Sheriff's Department to become a senior corporal on the Dallas police force.
"Lorne was a big guy with an even bigger heart," Los Angeles County Sheriff's Captain Merrill Ladenheim said.
Former colleagues at the sheriff’s department described Mr Ahrens as an incredible dispatcher who served the patrol deputies in the field well by always looking out for them and taking officer safety into account.
Mr Ahrens began work at the sheriff’s department in 1991 and left for Dallas in January 2002.
In a 2003 incident, Mr Ahrens sprinted fast enough to tackle a suspected cocaine dealer running away from a bust, according to court documents.
On Thursday, Mr Buckingham had been watching the events in central Dallas unfold from his home in Burleson, Texas. His daughter, a Dallas police detective, and son-in-law also live in the town about 55 miles south west of Dallas with their 10-year-old daughter and eight-year-old son.
Mr Buckingham thought his son-in-law could be there and that his daughter would be asleep since she had to be up by 3am for an early shift, so he and his wife decided to drive over. He said they got there just a few minutes after Dallas police knocked on her door.
“They told her she should come down to the hospital,” Mr Buckingham said.
Mr Buckingham and his wife stayed with the children while Katrina Ahrens went to the hospital.
Mr Buckingham said Mr Ahrens was already out of surgery when Ms Ahrens arrived. Then something went wrong.
Doctors had to take him back in and he died, Mr Buckingham said.
The couple had an understanding about their chosen careers.
“She was fine with it,” Mr Buckingham said. “She was a police officer, too.”
Dallas Area Rapid Transit authority officer Misty McBride told family and friends the day after she was struck by gunfire that she just wanted to return to work, according to one of her friends.
"She's ready to get back out there," Wendy Carson said, just after visiting the officer and her family in hospital. "She's a very, very strong woman."
Ms McBride, an officer and mother of a 10-year-old girl, was recovering from bullets that her father said struck her abdomen and arm, breaking her shoulder.
Richard McBride told reporters at the hospital that he and his wife learned from one of Ms McBride’s colleagues that their daughter fell to the ground when shot and started crawling towards a police car. Another officer picked her up and drove her to the hospital, where her family joined her that night.
“I’m just glad that she’s alive, really,” her daughter Hunter told reporters as she stood outside the hospital. “I said that ‘I love you’ and that ‘I’m glad you’re here.”’
Ms Carson, the owner of a salon and spa in the Dallas suburb where Ms McBride and her family live, said the officer and her parents are longtime clients who became friends over the years.
She described Ms McBride as a dedicated officer who often speaks with excitement about learning new policing skills and never discusses the dangers of her work.
“As far as who she is, the person she is, she would protect people even if she wasn’t in uniform,” Ms Carson said. “She is always willing to protect and serve, even off duty.”
Ms Rocha came to the Dallas police force by way of the farm.
The 23-year-old was wounded by shrapnel, but the family did not know the details of how Ms Rocha was hurt or the extent of her injuries.
Ms Rocha grew up just outside Beaver Dam, Wisconsin, where she was home-schooled and loved riding the family's horses, her mother Diane Bayer said. Becoming a police officer or soldier was her dream, Ms Bayer said, and Ms Rocha attended a police academy at Madison Area Technical College.
Classmates called her Mama Rocha and she won an award for unifying the class, her sister Katrina Schwartz said.
Ms Rocha used her Spanish language skills during an internship with the Madison Police Department in the summer of 2013, spokesman Joel DeSpain said, helping with a programme called Amigos en Azul (Friends in Blue).
“She was a very competent and poised young woman,” Mr DeSpain said.
Ms Rocha joined the Dallas Police Department in 2014 after she could not find any jobs in Wisconsin, Ms Schwartz said. Ms Rocha's husband's family is from Houston.
Ms Schwartz said she asked her sister if she still wanted to be a police officer.
“The way she put it is, ‘I’m still in this’,” Ms Schwartz said her sister told her. “She’s so tough.”
When his marriage was not legally recognised, Dallas Area Rapid Transit officer Mr Retana helped change the way Dart treats same-sex partners of its employees.
Mr Retana (39), joined the agency's force in April 2006. He and his husband, Andrew Moss, worked with a gay rights group called the Resource Centre to win benefits for same-sex partners of Dart employees.
Mr Moss lobbied for the benefits after an illness made him too sick to work and the Resource Centre took up the fight, the Dallas Morning News reported in 2012.
Mr Moss told the newspaper that Mr Retana is open about his relationship at work and is supported by his colleagues.
Resource Centre communications manager Rafael McDonnell called Mr Retana a friend and said he was recovering after leaving hospital, where he received treatment for unspecified injuries.
Ms Taylor was not one to protest publicly, but recent shootings of black men by police motivated her to head to central Dallas with her four sons.
The 37-year-old Amazon employee was shot in the calf after trying to shield them when gunfire erupted, according to her sister.
Ms Taylor was "fed up" so she decided to march with her sons - aged 12, 13, 15 and 17 - her sister, Theresa Williams, said. "She's got four boys who she just wants to be able to be peacefully out here in the world," Ms Williams said.
Amid the chaos, Ms Taylor’s 15-year-old son Andrew ran to his mother, who had fallen from the impact of the shot, and cradled her neck, Ms Williams said.
The bullet shattered her tibia, Ms Williams said. She came out of surgery at around 3.30am on Friday at Baylor Medical Centre in Dallas and remained in the hospital recuperating.
Two of Ms Taylor’s sons left the demonstration with her, but the other two, Jamar, 12, and Kavion, 17, had fled for cover in a hotel and were stuck behind a police barricade until around 4am, when their father was able to pick them up, Ms Williams said.
Ms Taylor's other sister, Sherie Williams, said her own four children "can't sleep because of what's going on".
Ms Williams said she could hardly believe her sister had been shot just over a year after her own 26-year-old son was shot in Minneapolis.