Updated

Matt Carpenter had a career-high five hits, including the go-ahead double in the 11th inning, and the St. Louis Cardinals beat the Kansas City Royals 5-2 on Wednesday night to snap a three-game losing streak.

After the Royals rallied with two runs in the ninth, Peter Bourjos worked a one-out walk off Royals reliever Kelvin Herrera (1-2) in the 11th. Carpenter then rapped his double to center field, drawing a roar from a crowd comprised mostly of Cardinals fans.

Allen Craig added a two-run single off Tim Collins later in the inning, and Pat Neshek breezed through the bottom half to end the Royals' six-game winning streak against National League clubs.

Sam Freeman (1-0) earned the win with a perfect 10th inning.