Updated

ST. LOUIS (AP) Matt Carpenter hit a tiebreaking two-run homer in the ninth inning, lifting the St. Louis Cardinals to a 6-4 victory over the Pittsburgh Pirates on Saturday.

Aledmys Diaz sparked the winning rally with a leadoff single. After Jeremy Hazelbaker flied to deep left, Carpenter drove a 1-2 pitch from A.J. Schugel (0-1) over the wall in right for his fourth homer.

It was the Cardinals' first win over the Pirates in five games this season.

Pittsburgh had tied the game on Starling Marte's double off Trevor Rosenthal (1-1) with two out in the top of the ninth.