MINNEAPOLIS (AP) — Logan Forsythe had three RBIs, the Minnesota bullpen tossed 5 1/3 shutout innings and the Twins beat the Pittsburgh Pirates 6-4 on Wednesday afternoon.

Oliver Drake, Gabriel Moya (3-0), Tyler Duffey and Taylor Rogers scattered five hits and struck out three before Trevor Hildenberger picked up his third save in four chances.

Minnesota is 16-4 in its last 20 home games.

Josh Harrison had three hits for the Pirates, who have lost three straight. Pittsburgh began the day five games out in the NL wild-card race.

Forsythe’s two-run single off reliever Edgar Santana (2-2) highlighted a three-run sixth as the Twins took a 5-4 lead. Bobby Wilson homered in the seventh.

After allowing two runs in the second inning, Pirates starter Chris Archer retired 10 straight batters before giving up back-to-back singles, including an RBI by Jorge Polanco, to start the sixth, ending his day.

Acquired from Tampa Bay July 31, Archer allowed four earned runs on six hits in five-plus innings. In his first three starts as a Pirate, Archer has allowed nine earned runs in 14 1/3 innings.

Minnesota starter Jose Berrios allowed four runs — three earned — as he labored through 3 2/3 innings, his shortest start since April 29.

After a 1-2-3 first, Pittsburgh had at least two runners on in three straight innings, with a two-run single by Gregory Polanco putting the Pirates up 4-2 in the fourth. Elias Diaz homered to start the inning.

Berrios has allowed nine earned runs in 12 2/3 innings in three August starts.