ELKHORN, Wis. — A deputy in southern Wisconsin fatally shot a man as he tried to run over the officer with a car, sending the vehicle crashing into an industrial building and narrowly missing a worker, authorities said Friday.

The shooting happened Thursday night after authorities pursued the motorist for driving recklessly, officials said. Deputies tried to stop the vehicle near Elkhorn, but the driver failed to pull over, authorities said.

Deputies began a pursuit and the vehicle eventually stopped in an industrial area in Elkhorn about 10 p.m. A Walworth County deputy got out of his squad car and the man drove toward the officer, prompting him to shoot the driver, officials said.

The vehicle then careered through the wall of an industrial building, narrowly missing a man working inside, witnesses said.

Authorities said the motorist was alone in the vehicle and died at the scene.

James Ropinski, who lives nearby, told WITI-TV he saw flashing lights, stepped outside onto his deck to find out what was happening, and heard gunfire.

"I heard five shots. And then I came back inside, worrying about my welfare. And then the Department of Justice came and talked to me. And I didn't know exactly what was happening. I mean, I knew something big was happening with the police presence," Ropinski said.

The deputy has been placed on standard administrative leave as the Wisconsin Department of Justice investigates.