(CNN) A gunman killed three people in shootings that ended at a lawn care company in Kansas on Thursday, authorities said.

An additional 14 people were injured -- 10 of whom are in critical condition at local hospitals.

The shooter was also killed by police, bringing the total number of fatalities to four.

Authorities first got calls about a man shooting from a vehicle in Newton about 5 p.m., the Harvey County Sheriff's Office said.

Minutes later, there were reports of a shooting at Excel Industries, which makes lawn care equipment in Hesston, Kansas.

"Everybody says it can't happen here," Walton said. "And here we are. It happened here."

Photos: Kansas workplace shooting Photos: Kansas workplace shooting Several officers stand at the front door of Excel Industries in Hesston, Kansas, where a series of shootings that left multiple dead ended on Thursday, February 25. The suspected shooter, an employee at Excel, was killed by authorities. Hide Caption 1 of 5 Photos: Kansas workplace shooting Emergency workers gather at a staging area near Excel Industries. Up to 20 people may have been injured, the Harvey County sheriff said. Hide Caption 2 of 5 Photos: Kansas workplace shooting Police guard Excel Industries. The sheriff told reporters authorities first received a report of a man having been shot while driving. Second, a person was reported shot in the leg. Third, a report came in about a shooting in the parking lot of Excel. Finally, an active shooter was reported inside the workplace. Hide Caption 3 of 5 Photos: Kansas workplace shooting Police go through the parking lot of Excel Industries, which makes lawn care products. Hide Caption 4 of 5 Photos: Kansas workplace shooting A police officer works the scene in the parking lot of Excel Industries. "This will take some time to work through," the sheriff said, citing the large number of crime scenes and people involved. Hide Caption 5 of 5

'A mellow guy'

Matt Jarrell, a painter at Excel, told CNN that Cedric Ford -- his co-worker and friend -- is the suspected shooter.

"Never in a million years" would he expect his friend to do something like this, Jarrell told CNN affiliate KSNW.

"He was a mellow guy," Jarrell said. "He was somebody I could talk to about anything."

Moments before the two clocked in at work at the same time Thursday, they were talking about Ford's new truck, Jarrell said.

About two hours into his shift, it was time for Jarrell's break. Ford was supposed to relieve him, he said, but he was nowhere to be seen.

Jarrell went outside, and the new truck were gone. A few minutes later, Ford returned in a different car, he said.

"He just parked and then opened up the door, hopped out with the gun on, strapped-up and everything," Jarrell said.

Ford yelled "hey" at a bystander nearby and then shot that person.

"I witnessed him shoot the shots. I saw the shell casings come out of the assault rifle," Jarrell said. "I mean, that vivid. I can still see it."

Authorities confirmed the shooter was an employee at Excel, but did not release a name or a motive. Walton said terrorism is not a factor.

"There was some things that triggered this particular individual," he said, declining to get into details.

Three scenes

Dispatchers got the first call at 4:57 p.m. local time with reports of a male in a gray Dodge opening fire, according to Walton.

A man was shot in the shoulder, the sheriff's office said in a news release.

About two miles north, another person was reportedly shot in the leg.

Minutes later, authorities received multiple reports of shots fired from Excel, where an estimated 150 people were working at the time, according to Walton.

Matt Gerald told The Hesston Record newspaper that he was outside on break when he saw the shooter.

CNN Map

"I saw the shooter get out of his truck, shoot someone down and go into the building," Gerald said. "I was flabbergasted. I was at a loss for words."

The gunman had a long gun and a pistol, according to Walton. He said the victims appear to have been randomly targeted.

A witness identified as Dylan said he was unloading pallets in the back of the building at the time of the shooting.

"We heard a pop, pop, and we thought it was just metal falling on the ground, and then the doors opened, people started screaming, coming out," he told KSNW said. "We really didn't know what was going on."

As he spoke, Dylan rubbed his hands, which had blood on them. He said he'd tried to help a man who'd been shot.

Authorities were on the scene at 5:06 p.m. local time -- minutes after the first reports came in, according to a timeline shown to reporters.

The first officer to arrive on the scene was alone, and single-handedly took down the shooter.

"Even though he took fire, he went inside of that place and saved multiple, multiple lives," Walton said. "[He's] a hero, as far as I'm concerned."

Walton said authorities would release the name of the officer who shot the suspect Friday.

No law enforcement official was injured.

'This will take some time'

A witness told CNN affiliate KWCH that outside the shooting, many cried, hugged and tried to find answers.

"I've never experienced that before," he said as he choked up. "You think you're safe at work and you're not. It's just scary."

Gov. Sam Brownback offered his condolences to the people of Hesston, which is 35 miles north of Wichita. He ordered flags flown at half-staff Friday.

Please send your thoughts and prayers to the people of Hesston tonight. — Sam Brownback (@govsambrownback) February 26, 2016

"This will take some time to work through," Walton said.

"This is just a horrible incident that's happened here," the sheriff said. "It's going to be a lot of sad people before this is all over."