OAKLAND, Calif. — After six straight games to start the season when almost nothing went right, Mitch Moreland made sure the Oakland Athletics would have something to feel good about when they head out on the road.

Moreland hit an RBI single with one out in the 10th inning and the A's rallied to beat the defending champion Los Angeles Dodgers 4-3 Wednesday for their first win of the season.

“Obviously we’ve been needing that one, kind of waiting for it,” Moreland said. “Hard-fought game today. We’ll take that and carry the momentum over into the road trip. It was a good one to get.”

The A’s were in danger of falling to 0-7 for the first time in franchise history before tying it in the ninth off Kenley Jansen when Matt Chapman scored on Elvis Andrus’ sacrifice fly. Chapman also hit a solo homer earlier in the game.

Oakland then won it in the 10th when Moreland’s line-drive single to centre off Jimmy Nelson (0-1) scored Mark Canha from third. Canha started the inning on second base and had advanced on a flyout.

That helped the A's avoid the first 0-7 homestand in franchise history.

“It’s definitely not the start we wanted,” Moreland said. “We know we’re a lot better team than that. We played great in spring and kind of had a little bit of lag. It didn’t go our way out of the gate. That’s a good win for us.”

Yusmerio Petit (1-0) pitched a scoreless 10th for the win.

Trevor Bauer put together his second straight strong performance after signing with the Dodgers this off-season for $102 million over three years. The 2020 NL Cy Young winner allowed three hits and two runs in 6 2-3 innings, recording 10 strikeouts for the second straight start.

But he ended up with a no-decision when Jansen couldn’t hold the lead in the ninth.

“That’s just uncharacteristic not having command like that," manager Dave Roberts said. "I think that obviously the commanding of the baseball when you know that he’s right he does that.”

That provided a bad ending to a 5-2 road trip to open the season. The Dodgers now get ready for their home opener on Friday when they will receive their World Series rings after winning it all for the first time since 1988.

MANUFACTURED RUNS

The A's scored a run to tie the game in the fourth without benefit of a hit. Ramon Laureano was hit by a pitch, stole second and third and then scored on a wild pitch by Bauer.

The Dodgers answered with a run in the sixth Zach McKinstry bunted away from the shift toward third base with runners on second and third and two outs. Max Muncy raced home to score before Chapman tagged Austin Barnes out as he slid past third base.

HEAVY LOAD

A's starter Jesús Luzardo needed 35 pitches to navigate threw the first inning. He walked the first two batters and struck out the next two before allowing an RBI single to A.J. Pollock. A third walk to Max Muncy loaded the bases before Luzardo escaped with no further damage by getting Austin Barnes to fly out with the bases loaded.

Luzardo lasted 5 1/3 innings, giving up two runs and five hits, getting some help when Seth Brown robbed Barnes of a homer to left field in the fourth inning.

“After the first I said ‘I’m done getting embarrassed' and a switch flipped in my head,” Luzardo said.

TRAINER’S ROOM

Dodgers: RF Mookie Betts got the day off because of a stiff lower back but is expected to play Friday. ... CF Cody Bellinger missed a second straight game with a sore calf.

Athletics: Manager Bob Melvin said closer Trevor Rosenthal is “contemplating surgery” for his shoulder injury. Rosenthal is considering a procedure that typically has a three-month recovery time. ... 1B Matt Olson missed a second straight game with a bruised left knee but could return Thursday.

UP NEXT

Dodgers: After a day off, the Dodgers will take on Washington in the home opener Friday when they will receive their World Series rings. Walker Buehler (0-0) gets the start for Los Angeles.

Athletics: Cole Irvin (0-1) gets his second start when Oakland heads to Houston to take on the Astros. The A's were outscored 35-9 while getting swept in a season-opening four-game series against Houston.

___

More AP MLB: https://apnews.com/tag/MLB and https://twitter.com/AP_Sports