The Rockies activated second baseman DJ LeMahieu off the 10-day disabled list on Tuesday, and LeMahieu will hit leadoff against the Angels to open the six-game homestand.

LeMahieu went on the DL on April 30 with a strained right hamstring. He’s hitting .290 with five home runs, 12 RBIs and three stolen bases in 27 games.

“The hammy’s not something I’ve ever dealt with before, so I had to put a lot of trust in (head trainer Keith Dugger) and the training staff,” LeMahieu said. “I feel really good and I’m ready to go.”

He was originally hurt while hustling out a double in the third inning against Miami on April 27, and was removed from the game shortly afterward. LeMahieu hoped to avoid the DL but his hamstring didn’t heal as quickly as anticipated.

With LeMahieu’s return, the Rockies optioned infielder Pat Valaika to Triple-A Albuquerque. Valaika was hitting .103 in 58 at-bats.

“With Pat, he needs some regular at-bats,” manager Bud Black said. “We saw what Pat can do last year, and the versatility he adds to our team at different positions… He’s playing phenomenal for a young player, but he’s got to get into a good spot in the batter’s box.”