Blake Snell struck out a career-high 13 in seven innings Sunday and the Tampa Bay Rays beat the Baltimore Orioles 6-0 in a season wrapup.

The Rays won their last four games to finish at 80-82, a 12-game improvement over last season.

Baltimore went 75-87, a 14-game drop from 2016. The Orioles lost 19 of their last 23, getting shut out five times.

The game drew a crowd of 16,018, bringing Tampa Bay's season attendance to 1,253,619, the lowest in the majors.

Snell (5-7) struck eight of the first 12 Orioles before Trey Mancini led off the fifth with a clean single up the middle for Baltimore's first hit. The left-hander went 5-1 with a 2.84 ERA over his last 10 starts after going 0-6 with a 4.98 ERA in his first 14 starts.

Curt Casali hit his first homer of the season, connecting off Kevin Gausman (11-12) in the fifth.

Consecutive hits by Corey Dickerson, Lucas Duda, Evan Longoria and Logan Morrison helped the Rays tack on five runs in the eighth off reliever Brad Brach.