runs and Anderson gave up four. Three of the four runs Anderson allowed came in the second inning.

With two outs and the bases empty in the second, Anderson gave up a single to DJ LeMahieu. He then tried to get a first-pitch fastball over the inside corner to Trent Grisham, but instead left it over the heart of the plate. Grisham hit a two-run homer, putting the Yankees up 3-2.

“I tried to go backdoor two-seam to Grisham there, because he just didn’t swing at very much,” Anderson said. “It was a chance to try something I don’t really try and see how it worked out. And it didn’t work out very well. Kind of a stupid pitch and terrible location.”

Two pitches later, Anderson threw Paul Goldschmidt a fastball up and over the middle, and he yanked it inside the left-field pole for a homer.

After that, Anderson gave up three singles and a walk in the final four innings, without allowing another run.

The performance still counted as progress for Anderson, who had not gotten through six innings in any of his previous three starts.

“I feel like I pitched overall better,” Anderson said. “A couple of bad pitches you wish you had back, but overall I felt like it was a lot better execution, just in terms of me being more myself.”

Right-hander Sam Bachman gave up a run in the seventh, putting the Angels in a 5-3 hole. The Yankees tacked on two more runs in the eighth, both charged to Hector Neris. The inning began with Aaron Judge doubling after he appeared to strike out. Plate ump Roberto Ortiz ruled that Judge got a piece of the two-strike pitch.

Shortly after the call, as the grounds crew was putting the tarp on the field, Angels pitching coach Barry Enright had an animated conversation with Ortiz and the other umpires.

Washington said that was the culmination of a day in which Enright and the Angels were frustrated with Ortiz.

“It was the calls that the home-plate umpire was making,” Washington said. “When they had that rain delay, he just got it off his chest.”

Despite Judge’s double, the Angels did a good job containing the two-time MVP throughout their seven-game season series. Judge finishes the season 4 for 22 with nine strikeouts against the Angels.

Meanwhile, the Angels’ three-time MVP — Trout — went 6 for 15 with a homer and three walks in the series. Trout is hitting .324 with three homers and an .884 OPS in 19 games since coming off the injured list.

Although he said he’s still a little too “achy” to play in the outfield, he’s satisfied with the production at the plate.

“It’s been good,” Trout said. “Getting good results and having good at-bats. Barreling some balls.”