Updated

After Colby Lewis had a performance he categorized quite accurately as "weird," Josh Hamilton hit a drive that is becoming quite typical.

The result for the Texas Rangers was a split of their doubleheader against the Baltimore Orioles on Thursday.

In the opener, Lewis gave up a career-high five home runs — including one to each of the first three batters he faced — in a 6-5 defeat. Then Hamilton hit his major league-leading 15th homer, a long two-run shot that propelled Texas to a 7-3 victory.

Hamilton entered the doubleheader coming off a four-homer game Tuesday and had five home runs in his previous six at-bats. After going 1 for 4 with a single and two strikeouts in the first game, he resumed his assault on Baltimore pitching with a first-inning drive off former Rangers right-hander Tommy Hunter (2-2).

The ball traveled an estimated 442 feet and was the 60th in the 21-year history of Camden Yards to land on Eutaw Street, far beyond the right-field scoreboard.

Asked if Hamilton hit a good pitch, Hunter replied, "He hit a baseball. The dude's on fire. What do you want me to say?"

Hamilton went 1 for 4 in the nightcap, dropping his batting average to .395 but increasing his major league-leading RBI total to 38. In the four-game series he went 8 for 18 with six homers and 12 RBIs.

"I was pretty happy I had a good series," the slugger said.

"Any time Josh goes up to the plate, you can anticipate something good is going to happen," Texas manager Ron Washington said. "He got us on the board right away in the first inning. They began to pitch him tough after that. He's a big cog in our lineup and I'm very happy he swung the bat the way he did because we needed everything he gave us."

After Hamilton put Texas in front, the Orioles took advantage of three Rangers errors to go up 3-2 in the second inning. But Texas regained the lead in the fifth when Nelson Cruz doubled, Mike Napoli tripled and Elvis Andrus delivered a two-out RBI single.

The Rangers pulled away with a three-run seventh, scoring twice on grounders after Hamilton received an intentional walk.

Derek Holland (3-2) allowed three runs, none earned, to earn his first win in four starts since April 18.

Recalled from Triple-A Norfolk before the game, Hunter gave up four runs and five hits in six innings. He struck out seven.

The teams were rained out Wednesday night, setting up the twinbill. Texas has gone 13 straight doubleheaders since May 2007 without being swept.

In the first game, Ryan Flaherty, J.J. Hardy and Nick Markakis opened the bottom of the first inning with homers to give Baltimore a lead it did not relinquish. The previous team to homer in its first three at-bats was the Milwaukee Brewers on Sept. 9, 2007. Hardy also was the middle man in that spree.

Milwaukee was the third major league team to accomplish the feat, all from the NL.

After the three consecutive home runs, Lewis retired his next 18 batters before Adam Jones homered leading off the seventh to make it 4-1. Lewis walked Matt Wieters, and Wilson Betemit hit a drive to right for a 6-1 lead.

The five home runs were the only hits Lewis (3-2) allowed over seven innings, and he also set a career high with 12 strikeouts. That made him the first pitcher since 1918 to give up five home runs and have at least 10 strikeouts in the same game.

"I can't justify that game," Lewis said. "It seemed like one of those days where you have really good stuff and then you miss your spot or something and it's just not a hit, it's a homer. You can't really look at it any other way. It was just kind of a weird game."

Orioles starter Wei-Yin Chen (3-0) gave up two runs and six hits in 7 2-3 innings, striking out five and walking one. The 26-year-old Taiwan native has allowed two runs or fewer in five of six starts and has a 2.68 ERA in his rookie season.

After Chen left in the eighth, Adrian Beltre hit an RBI single to make it 6-2. Pinch-hitter David Murphy added a three-run homer in the ninth off Jim Johnson, who got three outs for his ninth save.

With Chen leading the way, the Orioles snapped a seven-game losing streak against the Rangers. Texas won the first two games of the series 14-3 and 10-3 and outscored Baltimore 70-18 during its seven-game run.

NOTES: The prior time Baltimore hit five homers in a game was June 30, 2010, against Oakland. ... Andrus had hits in both games and has a 10-game run. He has reached base by hit or walk in 28 straight games. ... Baltimore put OF Endy Chavez (oblique) on the 15-day disabled list to make room for Hunter. ... Orioles C Luis Exposito got his first major league hit ... The Rangers next face former teammate C.J. Wilson and the Angels on Friday.