Police said the chase started at Chandler Boulevard and Tujunga Avenue in North Hollywood at about 10 a.m.
Authorities said the suspect got the attention of Los Angeles police when he told them he had a gun.
Police chased the suspect on the 101 Freeway heading eastbound before he got off the freeway in the Sherman Oaks area.
The suspect, driving a white van, weaved his way through surface streets into the Valley Glen and North Hollywood area.
While stopped at a traffic light in North Hollywood, a photographer with a local stringer service attempted to get a close-up shot of the suspect.
The suspect made frequent stops in the middle of the street, drawing officers out of their vehicles, before taking off again.
The suspect stopped on Sherman Way near Coldwater Canyon in North Hollywood and surrendered to police at about 11:20 a.m. He was taken into custody without further incident.
"Everyone's adrenaline is up because we're in a vehicle pursuit and they say he was armed with a handgun. Luckily this ended peacefully and he didn't present any sort of weapon to officers," Sgt. Shawn Corri with the Los Angeles Police Department said.
CORRECTION: An earlier version of this report stated the chase began in Woodland Hills, but was corrected to North Hollywood.