Stephen Elliott’s side went into the game having won five on the trot in Ferrycarrig Park, with the winning sequence beginning when they edged out Treaty United 3-2 at the end of March.

Since then, they have beaten Bray Wanderers, Athlone Town, Cobh Ramblers and Finn Harps, but Longford Town were in no mood to be added to the list of victims as they came away with the spoils.

The visitors began brightly enough but it was Wexford that had the first sight of goal with 14 minutes on the clock when Zayd Abada helped the ball forward to Jamie Wynne, whose effort ricocheted off a defender and forced a save from Kian Moore.

At the other end Andy Parashiv fired a speculative effort well over, although the hosts began to build up a head of steam and came close to making the breakthrough midway through the half when Wynne burst down the right flank, cut inside into the box and saw his shot take a wicked deflection out for a corner.

Kaylem Harnett then headed an Adam Verdon corner over the crossbar, Wynne fizzed a long-range effort too high and Gavin Hodgins pounced on an attempted Kian Moore clearance, but his first-time shot was gathered by the netminder.

However, it was the visitors who hit the front in the 28th minute and Wexford were the architects of their own downfall.

Robbie McCourt played the ball back to Paul Martin and his poor, hurried pass was seized upon by Aaron Doran, with the Longford attacker keeping his cool to pick his spot past the netminder.

The goal buoyed the visitors and six minutes later Doran lifted another shot over the crossbar following an Andy Paraschiv corner.

Wexford wanted a penalty in the 40th minute when Jake Doyle went down in the area after showing his usual battling qualities to win possession from a long Dylan Hand delivery.

Shortly before the interval, Adam Verdon’s deep free-kick was headed down by Doyle and Mikie Rowe’s deflected strike flew over, leaving the midlanders with a slender half-time advantage.

The home side had the first effort on target after the change of ends although Gavin Hodgins’ 53rd minute snap-shot was straight at Moore.

Moments later they threatened once more when Verdon did superbly as he burst into the box from the left. The ball eventually found its way to Wynne, but the winger’s shot was comfortably gathered by Moore.

Longford should have doubled their advantage shortly after the hour mark when Osaze Irhue crossed for Pharell Manuel and he scooped a great chance over from close range.

The had another gilt-edged opportunity in the 64th minute following a flowing move, but Dean Williams was denied by the outstretched leg of Martin after receiving a return pass from Paraschiv.

Wynne, who had switched to left-back after Stephen Elliott had to reshuffle his pack, went on a brilliant run down the wing in the 79th minute and played a one-two with Rowe, but his strike lacked the power to trouble the goalkeeper.

The visitors had the points in the bag seconds later after Alex O’Brien tigerishly won the ball back. Parashiv picked up possession, drove forward and played a clever pass to the overlapping Doran, who fired a shot to the roof of the net.

Three minutes later Doran had a hat-trick on his mind, but his shot was always rising over the crossbar.

The home side were handed a lifeline in the 93rd minute when referee Robert Dowling pointed to the spot after substitute Kian Dignan was adjudged to have been fouled in the box.

Jake Doyle powered the ball to the net for his fifth goal of the season, but it proved to be no more than a consolation as their winning home run came to an end.

Wexford’s away form has been patchy at best, and they will be hoping for a change in fortunes on that front when they travel to Mounthawk Park to take on Kerry FC next Friday evening.

Longford welcome league leaders Cork City to Bishopsgate on Saturday night.

Wexford FC: Paul Martin; Ryan Butler, Dylan Hand, Robbie McCourt, Kaylem Harnett; Zayd Abada, Adam Verdon; Jamie Wynne, Gavin Hodgins, Mikie Rowe (capt.); Jake Doyle. Subs. – Jack Larkin for Abada (HT), Calum Flynn for Butler (65), Ryan Ritchie for Hodgins (65), Kian Dignam for Harnett, inj. (81), Liam Shuntaro Doyle for Rowe (81), also Alex Moody, Mohammad Oladiti, Billy Vance, Kyal Byrne.

Longford Town: Kian Moore; Osaze Irhue, Cole Omorehiomwan, Taylor McCarthy, Jake Hough; Sultan Adenekan, Alex O’Brien (capt.); Pharrell Manuel, Aaron Doran, Andy Paraschiv; Dean Williams. Subs. – Francis Campbell for Williams, inj. (71), Daniel McKenna for Irhue, inj. (88), also Chijindum Odlum, Stefan Ugbesia, Kyle Robinson, Kobichidi Ndebumadu, Conor Errity, Jamie Egan, Seán Moore.

Referee: Robert Dowling.