Police have revealed the identity of the man accused of killing seven people and injuring more than 20 others on a shooting rampage in Texas last weekend.

Seth Ator, 36, was shot and killed by police in the car park of the Cinergy cinema in Odessa, Texas, on Saturday afternoon August 31.

The shooting spree began after Ator refused to obey when police tried to pull him over at a set of traffic lights.

He then went on to shoot at police before he used a rifle to kill his victims.

The victims of the mass shooting are aged between 15 and 57.

One of the victims is high school student Leilah Hernandez, 15.

She was walking out of an auto dealership when she was killed.

First photo of gunman who killed 7 and injured 22 during mass shooting in Texas

Edwin Peregrino, 25, was shot after he ran out of his parents’ home to see what the commotion was.

Mary Granados, 29, was killed as she sat in her Postal Service truck.

Authorities said they believed he would have killed more people inside the cinema if they had not shot him dead.

Hundreds of people gathered at a local university for a candelight vigil on Sunday.

First photo of gunman who killed 7 and injured 22 during mass shooting in Texas

Authorities have not yet established a motive for the mass shooting. Online court records show the suspect was arrested in 2001 for a misdemeanor offense that would not have prevented him from legally purchasing firearms in Texas.