SAN ANTONIO, Texas – The suspect in the murder of a San Antonio police detective was arrested Monday afternoon reported Fox News.

The arrest ended a 30-hour-long manhunt following the shooting of Det. Benjamin Marconi, 50, who was writing a traffic ticket when he was killed.

San Antonio Police Chief William McManus said that Otis Tyrone McKane, 31, was arrested about 4:30 p.m. local time.

McManus said officers stopped a car carrying McKane on Interstate 10, on the eastern edge of San Antonio. A woman was driving the car and a 2-year-old child was also in the vehicle. It was not immediately clear what connection McKane had to the woman and child.

Investigators believed McKane pulled up behind Marconi’s police unit, walked up to the officer’s driver side window and opened fire.

Authorities confirmed the driver Marconi had stopped was not connected to the murder.

“Everyone is relieved,” McManus told reporters at a Monday evening news conference. “I don’t think anyone slept last night.”

McManus said that McKane had a criminal record, but did not provide details. The chief also said that a vehicle sought by police was found near McKane’s home.

Surveillance video showed McKane at San Antonio police headquarters about four hours before Marconi was shot. The suspect asked a desk clerk a question but left before receiving an answer, said McManus, who declined to say what the man asked.

“I don’t know why he was in headquarters. We have some ideas,” he said, but no details were provided.