SOUTH LAKE TAHOE (CBS/AP) — An El Dorado County sheriff’s deputy fired several beanbag rounds into a car’s rear window to free a trapped bear that had likely been searching for snacks.

El Dorado County Sheriff’s spokesman Anthony Prencipe said Thursday that officers were called after the bear was seen rummaging through a Honda Civic in South Lake Tahoe.

READ MORE: 'Death Followed Us To This Place'; Family Flees War-Torn Yemen To Fall Victim To Oakland Violence

In a video, the caller says the bear did not seem very happy and that it looked huge.

The deputy said that he was going to try to break out the back window. After several shots, the window breaks open and the bear romps out and into the woods.

READ MORE: Watch The Derek Chauvin Trial Live

Prencipe said it’s safer to open a vehicle remotely than get close to a scared bear.

The sheriff’s office posted on Facebook that bears can open doors.

MORE NEWS: COVID Schools: Oakland Reopens Elementary School Classrooms; Middle, High School Students Remain Remote

© Copyright 2018 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report