Adrian Beltre said it all with four words.

“It was about time,” Beltre said.

Beltre was speaking for himself finding his power stroke, and for the Rangers’ offense as a whole to break through.

Beltre found his stroke early on Thursday, and his teammates eventually found theirs to avoid delivering a dud with a 5-4 victory over the Mariners on a perfect Fourth of July night at Rangers Ballpark.

Beltre homered for the first time in nearly a month in the second inning, and then sparked a four-run rally in the seventh with another blast.

“We’re getting more confidence,” Beltre said. “That’s what we should be doing. Every team goes through stretches where they don’t hit in key situations, like we’ve been doing the last couple of games, but we believe we can do it, and this is a good start to getting good swings in key situations.”

It didn’t appear to be the Rangers’ night early on, though.

Beltre connected on a solo shot in the second off Mariners starter Hisashi Iwakuma for an early 1-0 lead, but the Rangers managed only two singles the next four innings.

By the time the Rangers batted in the seventh, the Mariners had a 3-1 lead. They scored an unearned run in the sixth on a throwing error by Ian Kinsler, and took their first lead on a two-run homer by Raul Ibanez off Neal Cotts in the seventh inning.

The Mariners seemed to be on track for their first three-game sweep at Rangers Ballpark since 2001. The Rangers wrote a different ending, though.

Beltre started the seventh with his second homer of the night, sending a 1-1 fastball onto Greene’s Hill. A.J. Pierzynski followed with a single, and Lance Berkman drew a walk.

Mitch Moreland, who stepped to the plate 2 for his last 20, snaked an RBI single up the middle to score Pierzynski and move pinch runner Engel Beltre to third.