It was a day of mixed emotions for the Milwaukee Brewers on Tuesday.

They beat the Chicago Cubs 6-5 in the first game of a split doubleheader at Wrigley Field but lost starting pitcher Yovani Gallardo to a left-hamstring injury.

With the bases loaded and two outs in the fourth Gallardo came up lame after throwing a pitch to Darwin Barney.

He immediately began limping heavily as he walked around the mound and left the field after a short consultation with manager Ron Roenicke and trainer Dan Wright.

The Brewers announced afterward that Gallardo was suffering from left-hamstring tightness.

"We're not sure as far as length of time" Roenicke said.

"He's going to see (team physician William) Raasch tomorrow and they'll determine what they think on length."

As it turned out Gallardo first hurt the hamstring when he dived to catch a bunt in front of the mound the inning before.

"He felt it a little on the dive" Roenicke said. "We went out there he threw a couple warmup pitches seemed to be fine. Came back in they checked him out again and he was fine. Told him if it bothers him don't swing (in his ensuing at-bat) and he swung.

"Then he really didn't feel it until it all of a sudden tightened up on him."

With Gallardo ou John Axford was brought in and immediately hit hard.

He surrendered four consecutive RBI singles before finally striking out Junior Lake to end the inning as the Brewers went from leading 2-0 to trailing 5-2 heading into the sixth.

"It's never an easy situation for anybody to come in from the bullpen like that" said Gallardo who surrendered six hits three runs (earned) and three walks to go along with one strikeout in a 94-pitch outing.

"You're sitting there just watching the game and next thing you know you have to get up and get loose right away. It's a little bit different than somebody calling down and saying you have the next hitter."