Domingo Santana hit a go-ahead two-run homer in the ninth inning, Chase Anderson threw six innings without an earned run and the Milwaukee Brewers beat the St. Louis Cardinals 6-4 on Wednesday night.

Santana connected off closer Trevor Rosenthal (0-1) with two out to break a 4-4 tie.

Milwaukee had lost five of its previous seven in St. Louis.

Jeremy Jeffress pitched the ninth for his fourth save.

St. Louis' Brandon Moss tied the game 4-4 with a leadoff, pinch-hit homer in the eighth off reliever Michael Blazek (1-0).