A small plane crashed in the parking lot of a strip mall outside Anaheim, Calif., on Sunday, killing all five people on board, the authorities said.

The plane was en route to nearby John Wayne Airport when the pilot declared an emergency and crashed around 12:30 p.m. local time in Santa Ana, near the South Coast Plaza shopping mall, the authorities said.

It crashed in a parking lot for Staples, a CVS pharmacy and other retailers, Capt. Tony Bommarito of the Orange County Fire Authority said. The plane struck a parked car but no one on the ground was injured, he said.

Emma Gonzales, who works at the Buffalo Wild Wings in the strip mall, said she felt the building shake. “You just felt the ground move,” she said.