ANAHEIM, Calif. (AP) — Mark Teixeira’s first home run since coming off the disabled list came at a good time.

Teixeira led off the 11th inning with his 13th homer of the season and hit an RBI double in the eighth, leading the Rangers to a 5-4 victory over the Los Angeles Angels on Sunday.

“I really worked hard while I was on the disabled list to make sure I didn’t lose a step when I got back,” said Teixeira, activated on Friday after being sidelined since June 9 because of a strained left quadriceps muscle. “The drills and the work that I was doing when I was hurt, watching video and tracking balls in the cage, that was all to make sure I didn’t lose too much timing. I feel as good as I did before I left.”

Angels starter Jered Weaver allowed a pair of unearned runs and four hits in seven innings, struck out six and retired his last 11 batters. But the Rangers tied the score at 4 in the eighth against Scot Shields with two-out RBI doubles by Teixeira and Marlon Byrd, snapping Shields’ scoreless streak at 24 2-3 innings.

Angels closer Francisco Rodriguez pitched two perfect innings, but Justin Speier (0-1) came on in the 11th and threw a 3-2 pitch that Teixeira deposited into the first row of seats above the 18-foot wall in right field.

The homer came less than 24 hours after Speier struck out the side in his first game off the disabled list. Teixeira was one of the batters he fanned.

“Last night it was a backdoor split, which was an amazing pitch,” said Teixeira. “Today I think it was a hard split or a fastball that he took a little bit off of to sink it. But he kind of left it up a little bit and I put a good swing on it.”