The red SUV traveled with at least one flat tire along Vermont Avenue near 108th Street as crowds of people looked on.
The SUV stopped at 75th and Figueroa streets, with multiple patrol vehicles behind him.
Footage from AIR7 HD showed the driver with a gun in his lap while he waved a photo of a woman outside the driver's side window.
The suspect appeared distraught as the standoff continued for a few minutes.
The man then drove into an alleyway, where he became temporarily stuck between another vehicle and a fence.
At some point during the pursuit, the suspect tossed his weapon out of the passenger window.
Crowds of people followed close behind as the driver continued to move slowly toward the other side of the alleyway on 74th street, where the street was shut down with patrol vehicles waiting.
The SUV came to a stop one last time. Just minutes later, the suspect was seen stepping out of the vehicle with his arms up. He was taken into custody apparently unharmed.
Authorities said the chase began after police received a call about a man with a gun. It was not immediately clear on what charges the suspect will be booked.