A bear walks into a police station. No, that’s not the setup to a joke. It really happened in California earlier this month, and it was all caught on security camera.

A bear opened the door to a California Highway Patrol office in Donner Pass and came into the barracks, KGO reported.

It walked past vending machines and checked out the office before leaving, running out of the office with two officers hot on its tail.

And like any good animal video, police officers uploaded it to the department's Facebook page, KNTV reported.

>> Read more trending news

Some of those who commented used a little Yogi inspiration for their quips.

Others talked about the quality of jail food.

A bear broke into a police station in California.

Credit: CHP - Donner Pass/Facebook

icon to expand image

Credit: CHP - Donner Pass/Facebook