A disgruntled former employee of a Taylor trucking company went on a deadly rampage Thursday.

The 45-year-old suspect, a Sterling Heights man, entered his former workplace, shot a relative of the owner, carjacked a semi-truck at gunpoint in the parking lot, drove to a Pontiac business, fatally shot another man, led police on a chase, exited the semi, had a shootout with police, suffered nonfatal gunshot wounds and was arrested Thursday morning, Feb. 1.

"It clearly was a planned killing spree," Oakland County Sheriff Michael Bouchard said after the man was finally arrested about noon Thursday.

OCSO providing update after shootings in Taylor, Pontiac The Oakland County Sheriff's Office is providing an update after a shooting suspect in Taylor also allegedly shot someone in Pontiac before being arrested. DETAILS: http://bit.ly/2DU4DbK Posted by WXYZ-TV Channel 7 on Thursday, February 1, 2018

Taylor Police Chief John Blair said 911 calls about the initial shooting were made from a trucking business on the 24000 block of Pennsylvania in Taylor -- later identified as BSD Linehaul Michigan Inc. -- about 10:30 a.m.

Police arrived to find employees exiting the building with their hands raised in air and learned that the suspect, who was armed with a rifle, had already stolen a semi and fled.

Alerts were put out by Taylor police statewide and in Ohio, Blair said.

Investigators knew the suspect from a prior incident during which he entered the same business and allegedly brandished a gun in November.

Blair said the man was charged with felonious assault, felony use of a firearm and brandishing a firearm. He was free on bond at the time of Thursday's incident.

There was a "separation of employment" and an ongoing "payroll dispute," said Blair, who didn't have further details.

The 61-year-old victim worked in management at the trucking company and was a relative of the owner, the Taylor police chief said.

The second victim, 58-year-old Eriberto Perez, was shot multiple times in the back inside another Pontiac business about 11:30 a.m. Thursday, according to Oakland County Sheriff Michael Bouchard.

"The suspect appeared to know exactly where he was going, went directly to this building, made turns and through doors and engaged this one person only and then left," Bouchard said. "He was driving this large tractor-trailer, which doesn't stop easily.

"Inside this vehicle, he had multiple, multiple magazines" and an AK-47 with "taped together 30-round magazines."

Police from agencies throughout the county, including Auburn Hills and Waterford, began preparing to respond to an active-shooter situation.

Waterford police spotted and began chasing the semi.

"At 11:52 a.m, he had stopped on the road and actually engaged Waterford officers in gunfire," Bouchard said. "He got back in the truck and continued to drive.

"At 11:55 a.m. there was an accident ... where two young ladies were in a car; they have non-life-threatening injuries, but he struck them pretty good."

One of the tires blew and the diesel gas tank was dislodged. The suspect exited "and shots were fired" and he was arrested by noon, police said.