ST. LOUIS (AP) — Michael Chavis hit a go-ahead grand slam as Pittsburgh overcame a three-run, third-inning deficit, and the Pirates beat the St. Louis Cardinals 9-4 for their first win this season.

Chavis made his first start of the season and homered off left-hander Steven Matz, who allowed seven runs and nine hits over three innings in his first start since signing a $44 million, four-year contract.

It was the second slam of Chavis’ big league career. He finished a triple shy of the cycle. Diego Castillo added three hits for the Pirates.