Surrounded by Santa Ana police and the SWAT team, Jose Antonio Garcia, 36, locked himself inside the pickup truck for about four hours and threatened to shoot himself in the head.
Garcia gave himself up just before 8:30 p.m.
He was booked on suspicion of murder.
City News Service contributed to this report.