A man charged in connection with a shooting that injured seven people late Monday at a Lubbock motel was previously arrested after a shooting two years ago in which he was also accused of firing shots into a crowd near the same area, court records show.

Adrian Castillo, 23, was arrested Tuesday afternoon on charges of aggravated assault with a deadly weapon stemming from the shooting shortly before midnight at the Villa Town motel in the 5400 block of South Avenue Q Drive, said Lubbock Police Department spokeswoman Tiffany Pelt.

"Right now, investigators continue to question witnesses and victims to piece together what happened," she said. "At this point, it appears there is only one suspect who fired shots. This is still early in the investigation, and details may change as more information becomes available."

Castillo was arrested without incident near 73rd Street and Utica Avenue and was questioned Tuesday afternoon by Lubbock police.

Castillo’s arrest came hours after police identified seven gunshot victims — six of whom remained hospitalized Tuesday — who were wounded in the shooting that police say stemmed from a verbal altercation.

Shortly before midnight, police said, the shooter was reportedly leaving Copper Caboose Restaurant when a verbal altercation began with a group of people standing on a second-story balcony at the neighboring Villa Town motel.

At about 11:40 p.m., dispatch received calls in reference to gunshots being fired at the location, and when officers arrived, several victims were located on the balcony.

"Once it was determined the suspect had fled the scene and there was no longer a threat," Pelt said, "the officer began to provide first aid to the victims."

Following the shooting, EMS arrived at the scene and seven people were taken to the hospital with injuries.

They are listed as:

n Segundo Garcia Jr., 35

n Marissa Bengoa, 28

n Stephen Sasueda, 35

n Jacquelyn Aguillon, 31

n Israel Romo, 28

n John Ramirez, 38

n Manuel DeLeon, 35

While their injuries appear to be non-life threatening, Pelt said some of the injuries are serious.

Persons Crime investigators continued working the case Tuesday.

Castillo was booked into the Lubbock County Detention Center late Tuesday. His bond was set at $500,000.

He was released from prison in August after he was sentenced on a felony weapons charge from the previous year. Castillo accepted the weapons charge as part of a plea deal in which Lubbock County prosecutors dropped a felony aggravated assault charge stemming from a shooting in August 2015 at the Cooper Caboose Restaurant — two blocks away from Villa Town on Avenue Q.

One person suffered moderate injuries in that shooting, which happened about 1 a.m. Aug. 13, 2015, according to A-J Media archives. In that case, patrol officers responded to a fight in progress after an altercation inside the bar.

A man went out to a vehicle, where he obtained a handgun and fired into a crowd in the parking lot, police said at the time.

The person who was wounded in the August 2015 shooting was not one of the listed victims in Monday night’s shooting.

Castillo had been scheduled to be released from a Texas prison on Aug. 25, 2016, with credit for previous time served applying to his two-year sentence.

Anyone with information is urged to contact Crime Line at (806) 741-1000.

Callers may remain anonymous.

(A-J Media reporter Gabriel Monte contributed to this story.)