By CBS13 Staff

STOCKTON (CBS13) — A carjacking in Stockton Friday afternoon ended with the perpetrator being tazed by the police, said the Stockton Police Department.

The incident took place around 4:20 p.m. Friday on East Main Street in the Park District.

READ MORE: WATCH: 5-Year-Old Manteca T-Ball Player's Walk-Up Dance Goes Viral On TikTok

The victim, a 44-year-old man, was at a local business when the suspect attempted to drive away in the victim’s vehicle.

READ MORE: 'We Have To Do Something': Assembly Passes Bill That Would Allow California Parents To Sue For Social Media Addiction

The victim got into the back seat of his vehicle, at which point the suspect drove a short distance with the victim before fleeing the vehicle and barricading himself inside a business.

When officers arrived, the suspect refused to surrender, and the officers deployed a taser before taking the suspect into custody.

MORE NEWS: Quail Fire In Vacaville Now 100% Contained

The suspect was identified as 37-year-old Marcos Morales, who was arrested on charges of carjacking, theft, and resisting arrest.