Two people were hospitalized after a vehicle drove into a restaurant at Fisherman’s Wharf in San Francisco on Thursday afternoon, police said.

The crash was reported about 1:20 p.m. at Boudin Bakery, 160 Jefferson St. Emergency crews responded and two people were taken to a hospital with non-life-threatening injuries.

The driver was treated and released at the scene, police said.

“The preliminary investigation determined that an adult male driver who was operating his vehicle inadvertently drove into the building and struck the people,” police said in a news release.

Authorities didn’t say whether the injured people were diners or passersby.