MINNEAPOLIS, Minn. — Carrying a one-run deficit into the ninth inning, the A’s rallied for a 5-4 win Saturday night over the Minnesota Twins.

Mark Canha started the rally by getting hit by a pitch, and Ramon Laureano cracked his 24th double of the year to bring Khris Davis up. Davis knocked a two-run single off Ehrie Adrianza’s glove.

Liam Hendriks endured some drama in the ninth inning, loading the bases with one out. But Mitch Garver grouned into a double play to retain the A’s (57-42) win.

The A’s faced Twins starter Jose Berrios, who toted a 2.32 home ERA when he took the mound.

Berrios was positively electric, departing the game after 113 pitches having thrown 5 2/3 innings of shutout ball — leaving the A’s four innings to chip away at one of the better bullpens in the league (its 4.26 ERA ranks sixth in the American League).

Canha tied things up with one big swing on Zack Littell’s slider offering, and Laureano followed suit, going back-to-back to give the A’s a 3-2 lead. It was Laureano’s 20th home run of the season and extended the A’s home run streak to 20 games.

Brett Anderson combated Berrios’ flame with tame waters. Mitch Garver and Nelson Cruz rocked two iffy pitches out of the park to give the Twins the only two runs they’d need. And it’d be all Anderson would allow. After a Miguel Sano double that first inning, Anderson retired the next 14 batters he faced, his sinker generating weak contact with a slider that drew key swings and misses.

But the home run bug came back to bite Anderson in the seventh. Miguel Sano launched his 3-2 slider 114 mph 443 feet into the left field’s third deck to tie things up and give Anderson the boot. It was the first multi-home run game for Anderson since a May start against the Seattle Mariners. He left the game with a blister on his left middle finger.

The Twins rallied against Yusmeiro Petit and Ryan Buchter, squeezing out a sac fly that gave them a lead heading into the ninth.