Cardinals miss playoffs for 1st time since 2010

ST. LOUIS, MO - OCTOBER 2: Matt Holliday #7 of the St. Louis Cardinals is congratulated by his teammates after taking the field for the last time as a member of the St. Louis Cardinals during the ninth inning of a game against the Pittsburgh Pirates at Busch Stadium on October 2, 2016 in St. Louis, Missouri.  (Photo by Dilip Vishwanat/Getty Images)

ST. LOUIS, MO – OCTOBER 2: Matt Holliday #7 of the St. Louis Cardinals is congratulated by his teammates after taking the field for the last time as a member of the St. Louis Cardinals during the ninth inning of a game against the Pittsburgh Pirates at Busch Stadium on October 2, 2016 in St. Louis, Missouri. (Photo by Dilip Vishwanat/Getty Images)

ST. LOUIS (AP) — A win on the final day of the season was not enough for the St. Louis Cardinals, who missed the playoffs for the first time since 2010.

Matt Carpenter homered and Randal Grichuk keyed a six-run seventh-inning with a two-run double to lead the Cardinals over the Pittsburgh Pirates 10-4 Sunday.

But the Cardinals (86-76) were eliminated while still on the field when San Francisco (87-75) beat the Los Angeles Dodgers 7-1 and earned the second NL wild card.

St. Louis outfielder Matt Holliday was brought into the game momentarily to play left field in the ninth inning. He was given a standing ovation and taken out before the first pitch. The Cardinals announced Friday they plan to decline his 2017 option and allow him to become free agent.