Hearst Castle in San Simeon was put on lockdown Sunday after a police chase through the state park.
The chase began in Cambria around 10 a.m., where a male suspect stole a vehicle near Moonstone Beach, officials said.
Police chased him on Highway 1 toward Hearst Castle. That's reportedly where the suspect turned, driving straight through the gate near the visitor center and the gate by the castle itself.
Once inside the park grounds, the officials say the man got out of the truck and ran toward one of the guest cottages.
By 2 p.m., state park officials reported the man had been taken into custody by California State Park Rangers and San Luis Obispo County Sheriff's deputies.
The state park was put on lockdown while the incident was underway.
Dozens of guests were on site and were taken off all tours at the castle as a result.