RED BLUFF, Calif. — A man drove into a Northern California distribution center and started shooting at people, killing an employee and wounding four others before he was killed by police, authorities said.

The shooting by a 31-year-old man with a semi-automatic rifle started about 3:30 p.m. Saturday at the Walmart distribution center south of Red Bluff, a city of about 14,000 people about 131 miles north of Sacramento, California.

Tehama County Assistant Sheriff Phil Johnston said at a news conference that the shooter circled the parking lot four times before crashing into the building and opening fire with the rifle. Red Bluff Police officers shot and killed the suspect, KHSL-TV reported.

The employee who died was Martin Haro-Lozano, 45, of Orland, California, Johnston said.

Officials did not identify the shooter, but Johnston said he has a history with the Red Bluff workplace.

The shooting victims were taken to St. Elizabeth Community Hospital in Red Bluff, spokeswoman Allison Hendrickson told The Associated Press. She confirmed that four were hospitalized, but declined to provide more details.

Some of the 200 workers inside the facility locked themselves in a room , employees told KHSL-TV.

The suspect was shot in the chest about 3:45 p.m., dispatchers told the newspaper.

Scott Thammakhanty, an employee at the facility's receiving center, told the Redding Record-Searchlight that he heard the shooter fire from the rifle.

"It went on and on — I don't even know how many times he fired," Thammakhanty said. "I just know it was a lot."

Thammakhanty and others started running for their lives, and he saw people lying on the ground as he went, he said.

Walmart spokesman Scott Pope told the Record-Searchlight that the company was "aware of the situation" and working with law enforcement.