ANAHEIM (AP) β€” Mike Trout delivered his 1,000th career hit with a cracking double down the line. Two innings later, he homered on his birthday for the fourth time in his six big league seasons.

Moments after that, Manny Machado made sure Trout’s birthday gifts didn’t include a victory.

Trout reached another milestone and hit another homer on his 26th birthday, but Machado hit a tiebreaking grand slam in the seventh inning of the Baltimore Orioles’ 6-2 victory over the Los Angeles Angels on Monday night.

“A lot of good things happened tonight,” manager Buck Showalter said after Baltimore got back to .500 for the first time since June 29. “Everybody got to see a 1,000th hit, and we won the game, so it’s another milestone.”

After surviving a pregame shower of eggs, cream, shampoo and various unmentionables from his teammates, Trout doubled in the fourth inning to become the 11th player with 1,000 hits in an Angels uniform. The two-time AL MVP then tied it in the sixth, sending his 23rd homer of the season high off the left-field pole.

“It means a lot,” Trout said. “A lot of milestones with hits. You see (Adrian) Beltre, he just hit his 3,000th. Pretty incredible. I felt pretty good. I just wanted to get it over with. A lot of people talking about it.”

But Machado connected moments later against J.C. Ramirez (10-10) for his fifth career grand slam.

Dylan Bundy (11-8) recorded a career-high 10 strikeouts while pitching seven innings of five-hit ball for the Orioles.

“Just a real mature effort,” Showalter said. “He managed the game real well. It was fun to watch.”

Baltimore (56-56) won the opener of a three-game series between two teams on the fringe of the AL wild-card race. The Orioles have won eight of 10, while Los Angeles has followed up a 6-1 stretch with three straight losses.

MORE ON TROUT:

TROUT’S TIME: Trout got a standing ovation after reaching the latest milestone of his precocious career with his 1,000th hit. The Big A crowd also sang Happy BirthdayΒ to Trout a few minutes earlier.

Trout joined Mel Ott, Jimmie Foxx and Mickey Mantle as the only players to compile 1,000 hits, 500 runs and 500 walks by their…