What could have been a feel-good, comeback story for the York Revolution on Wednesday night instead ended in disappointment in a 6-5 loss in the series finale against visiting Somerset.

Revs relievers Ian Durham and Rommie Lewis each gave up a run in the final two innings to give the Patriots the come-from-behind win to avoid being swept in front of 3,634 fans at Santander Stadium. It marked the first loss of the second half of the season for the first-half Freedom Division champion Revs (43-30 overall, 2-1 second half).

York left-hander Alain Quijano, the reigning Atlantic League Player of the Week, started on three days rest for the third-straight time. He managed to hold first-half Liberty Division champion Somerset (47-25, 1-2) to four runs on eight hits in six innings.

Down 4-0 heading into the bottom of the sixth inning, the Revs tied it on Eric Patterson's two-out grand slam. It's the third bases-loaded home run for York this season and eighth homer for Patterson, one of four Revs selected to next week's Atlantic League All-Star Game.

An inning later, Bryant Nelson crossed the plate to give York a 5-4 advantage. Nelson made his first start for York since Oct. 2, 2011, when he scored the go-ahead run in York's 6-3 win over Long Island in the Atlantic League Championship Series clincher. Revs' manager Mark Mason acquired Nelson over the weekend from Camden in exchange for infielder Brandon Chaves. Nelson went 2-for-4 with a run scored in Wednesday's loss.

York reliever Bryan Morgado tossed a scoreless seventh inning before Durham gave up the tying run in the eighth inning. Lewis (2-1) suffered his first loss of the year by surrendering a run in the ninth on a pair of hits. It's the eighth time he's given up at least a run in his 32 appearances this season. Lewis has also put at least one runner on base in 21 of those 32 games.

Despite the loss, York still won the three-game set. The Revs have won three of their last four series. And they collected eight hits in Wednesday's defeat, with Nelson and leadoff man Justin Greene (2-for-4, RBI, run scored) each getting multiple hits. Greene improved his league-leading batting average to .383.

Somerset right-hander Gary Moran allowed the five runs on six hits with three strikeouts and three walks in seven innings. Patriots' reliever Mike DeMark (5-1), a former Revs' pitcher, picked up the win with a scoreless eighth inning.

York threatened one last time in the bottom of the ninth inning by putting runners at first and second with one out. But Somerset closer Jon Hunton retired Sean Smith and Greene on pair of groundouts to earn his league-leading 23rd save.

Next game: York will now welcome Bridgeport (24-49, 2-1) in for a four-game series to cap off the Revs' seven-game homestand. They will be York's final games before next week's All-Star break.