A man accused of driving recklessly led police on an erratic pursuit through San Diego before the chase spilled onto a popular beach Sunday morning, where stunned beachgoers watched officers move in and take him into custody.

The chaotic pursuit began just before 7:30 a.m. when the San Diego Police Department received multiple calls from witnesses reporting a man driving recklessly in the Pacific Beach neighborhood, police told Fox News Digital.

Witnesses described a man behind the wheel of a tan or gold Nissan Frontier doing donuts in parking lots, nearly hitting other vehicles and possibly striking curbs and a retaining wall, according to police.

Officers arrived in the area within minutes and spotted the truck heading west toward the ocean. An officer attempted a traffic stop, but police said the driver fled and a pursuit ensued.

HUNDREDS BLOCK FLORIDA INTERSTATE IN ALLEGED STREET TAKEOVER BEFORE 140 MPH POLICE CHASE

Officers eventually terminated the pursuit because of what police described as the driver's "increasing wanton disregard to public safety."

BODYCAM SHOWS POLICE K-9 LEAPING INTO ACTION AFTER SUSPECTED IMPAIRED DRIVER REFUSED TO SURRENDER

Police later located the truck again, but the driver allegedly failed to yield a second time, sparking another pursuit that officers also terminated.

By then, police said the Nissan was wanted in connection with felony evading, and officers saturated the area in an effort to locate it.

WATCH: DEPUTIES HUNT WANTED MAN THROUGH CORNFIELD AFTER HIGH-SPEED CHASE CAUGHT ON CAMERA

Officers eventually spotted the truck again driving slowly but held off on another attempted stop until the department's ABLE, or Airborne Law Enforcement, helicopter was overhead and able to track it.

The helicopter followed the Nissan as it drove onto the beach and headed toward the water, police said.

WATCH: FELONY SUSPECT'S OCEAN GETAWAY UNRAVELS AFTER 90-MINUTE STANDOFF WITH LIFEGUARDS

Video from the scene shows stunned beachgoers watching as officers converge on the pickup on the sand. The driver, identified by police as 25-year-old Griffin Charles Foy, is seen outside the truck with his hands raised as officers move in to detain him.

A police K-9 was also at the scene but was not deployed during Foy’s arrest, authorities said.

FLORIDA MAN IN BUNNY HELMET ALLEGEDLY LED POLICE ON 120 MPH CHASE BEFORE SURRENDERING TO TROOPERS

Police said officers conducted a high-risk vehicle stop because of the nature of the alleged violations and Foy's "disregard to public safety."

Foy was taken into custody without further incident.

REPEAT OFFENDER WITH MASSIVE RAP SHEET LEADS COPS ON WILD CHASE AS BLIND PASSENGER BEGS TO ESCAPE: POLICE

He was booked into San Diego Central Jail on charges of felony evading a peace officer with wanton disregard for safety, obstructing or resisting a peace officer and driving under the influence of drugs, according to police.

Despite the chaotic pursuit, police said no one was injured.