Joe Maddon was ejected from Thursday's game between the Chicago Cubs and Pittsburgh Pirates.

Maddon watched the final 5 1/2 innings of his team's victory following an exchange with Pittsburgh's dugout.

The manager took exception to Jordan Lyles pitching up and in to Javier Baez in the top of the fourth inning. After a pitch just missed hitting Baez, Maddon had to be restrained by plate umpire Joe West while appearing to make his way toward the Pirates' dugout.

"I mean, pent up frustration is one thing, but when your guys keep getting thrown at their head that's another thing too," Maddon said. "It's an industry-wide concept that we know that they are into and I have it from really good sources."

The inning after Maddon's ejection, Pirates reliever Clay Holmes hit Cubs third baseman David Bote in the head with the bases loaded.

"It was getting way too out of control, culminating in David getting hit in the head," Maddon said. "I have no issues with pitching inside. I'm an advocate, but when you [throw] that many pitches, not just that tonight, but it's been that way somewhat during the entire series. They have their pitching philosophy which again I appreciate outside, I don't appreciate up and in. Neither do the rest of us, they just need to be careful."