Authorities have arrested a Baton Rouge man they say was the getaway driver in the fatal shooting of a man last month and is also a suspect in several other armed robberies around the city.

Police said Sunday that Terrance Hanks, 21, drove two other people to a home in the 12000 block of Cate Avenue on the night of Oct. 21. A fight broke out in the driveway during a robbery, police said, and a man was shot and killed.

Hugo Sanchez Lopez, 22, was found there suffering from a gunshot wound, police and his family said at the time.

A witness told The Advocate that the robbers approached Lopez and three of his friends in his driveway and demanded their wallets. During the robbery and fight, one of the assailants shot Lopez in the head, according to the arrest report for Hanks.

Lopez fell to the ground and the two assailants ran away, leaving the gun behind on the pavement, the witness said.

Top stories in Baton Rouge in your inbox

Twice daily we'll send you the day's biggest headlines. Sign up today.

Hanks told investigators he drove two other people to that area and they had planned to rob someone, the arrest report said. He told them that he heard  gunshots before the others returned to the car.

Police said they matched the silver Toyota he allegedly had been driving to several other armed robberies that happened around the time of the shooting.

Hanks remained at the East Baton Rouge Parish jail Sunday on suspicion of principal to first-degree murder and armed robbery. His bond was not yet set.

Lopez's brother, Eduardo, said after the shooting that they moved to Baton Rouge from Pueblo, Mexico in search of a better life.

He said his brother worked as a painter for a construction company and described him as a private person who spent much of his free time working on his truck.