HOUSTON – What started as a robbery turned into a shootout down the streets of Houston on Tuesday.

A man is in police custody after investigators said he robbed a man at gunpoint, taking his cellphone and jumping into an Uber car to escape with his girlfriend in tow.

KPRC 2 was told that once on the road, the accused thief was chased by the man he just robbed and a gun battle between the two vehicles ensued.

"So the victim jumps in his vehicle where he has his 15-month-old baby in his passenger seat," Lisa Anderson, with the Harris County Precinct 5 Constable's Office said. "He pursues the Uber vehicle. They allegedly exchanged gunfire, at which point the Uber driver pulled into the Precinct 5 command station and tells the two passengers to get out."

The Uber driver, fearing for his life, ordered the gunman and his girlfriend to get out of the car. The cellphone robber and wound up miles away at an AutoZone store.

For several minutes they were holed up inside a tow truck, refusing to come out. They were eventually taken into custody by the Houston Police Department.