A man who killed seven people and injured 22 more in a shooting spree in Texas had been sacked from his job just hours before.

Seth Aaron Ator, 36, hijacked two separate vehicles and fired at random as he drove through the the cities of Odessa and Midland in the west of the state on Saturday afternoon, before being shot down by police.

He had been fired from his truck-driving job that morning, law enforcement officials said, and started shooting after being pulled over by Texas state troopers for failing to indicate before turning.

Image: Postal worker Mary Granados, 29, was killed in the attack. Pic: GoFundMe

Image: Rodolfo Arco, 56, had a trucking business. Pic: GoFundMe

Victims of the massacre include Mary Granados, a 29-year-old postal worker identified by the US Postal Service.

Her twin sister Rosie, who said they had planned to celebrate their 30th birthday together, told NBC News: "She was so special. "I don't know what I'm going to do without her."

Rodolfo Arco, 56, father to three daughters, was returning from work at a trucking business when a bullet hit him in the head, according to his wife.

Bari Arco said the couple had been married for 20 years. "Now he's gone," she told NBC.

Odessa High School student Leilah Hernandez, 15, was also among the victims. A GoFundMe page set up to raise money for funeral expenses said her brother Nathan, 18, was among those injured.

Her grandmother, Nora Leyva, told the Washington Post the pair were walking out of a truck dealership and that their mother and nine-year-old brother were also with them when they were shot.

Image: High school student Leilah Hernandez, 15, was among the victims. Pic: GoFundMe

Ms Leyva said Leilah's mother pushed their young brother under a car, while Nathan wrapped his arms around Leilah and was shot in the arm.

The youngest person named as wounded was a 17-month-old girl, Anderson Davis, who is being treated in hospital for injuries to her chest and face.

In a post on Facebook, her mother Kelby Davis said: "We are laying here tonight holding our babies tight, exhausted, relieved, anxious, thankful, hurting, and experiencing many other emotions."

The bullet, she said, went through their car at a red light and "hit Anderson in the mouth and chest".

She will have further surgery on Monday to remove shrapnel from her chest, Texas governor Greg Abbott told reporters on Sunday.

Edwin Peregrino, 25, was killed outside his parents' house, his sister Eritizi Peregrino, 23, told the Washington Post.

Paying tribute, she said: "You could always count on him for anything. He would always help my parents and his siblings. I knew I could always rely on him and call on him."

Father-of-two Joseph Griffith, 40, was sitting at a traffic light with his wife and children when he was shot dead, his sister, Carla Byrne, said.

"This maniac pulled up next to him and shot him, took away his life, murdered my baby brother. Like nothing," she said. "We are so broken."

Great job by Texas Law Enforcement and First Responders in handling the terrible shooting tragedy yesterday. Thank you also to the FBI, @GregAbbott_TX and all others. A very tough and sad situation! — Donald J. Trump (@realDonaldTrump) September 1, 2019

Ator opened fire on police who had stopped him and then took off in a gold car, shooting at random for more than 10 miles (16km).

At some point during the chase that followed, he abandoned the car and stole a postal vehicle, killing Ms Granados.

Police disabled the vehicle by ramming it with an SUV and shot Ator dead at a cinema complex car park.

The massacre came exactly a month after a mass shooting in the Texas border town of El Paso, which killed 22 people.