Three people were taken into custody after a pursuit came to an end in Santa Clarita Wednesday afternoon.

Police were trying to stop a Cadillac Escalade that was reportedly stolen from Texas, according to Officer Lee of the Los Angeles Police Department and Officer Figueroa of the California Highway Patrol.

Aerial video from Sky5 showed the suspect driving erratically, cutting people off and driving on the wrong side of the road.

The driver nearly hit other vehicles and at least one person could be seen getting out of the vehicle, while the driver continued evading authorities.

Minutes later, the driver headed into a condominium complex and two people ditched the vehicle and ran out.

The suspects jumped over a fence and were chased on foot by police before eventually putting their arms up and surrendering to authorities at Propello Drive and Prima Way.

All three suspects, one 18-year-old man and two boys under the age of 18, were taken into custody, Lee said.

The 18-year-old is also wanted for a murder in Texas, Lee added.