Shayne Lavery was the hero as Linfield secured one of the best results in their history in the first leg of their Europa League play-off against Qarabag.

Heading into the game as underdogs as the Azerbaijani side, conquerors of Dundalk in the Champions League, the Belfast club achieved one of the Irish League's finest ever results in Europe.

The 20-year-old Lavery scored the second and third goals in a 3-2 victory, becoming the first Linfield player to score in three successive European games since Arthur Thomas 53 years ago.

Faycal Rherras scored first for the Azerbaijan champions, who faced Arsenal and Sporting in last year's competition and took two points off Atletico Madrid in the Champions League in 2017.

Mark Stafford's header changed the momentum five minutes before half-time, with Lavery putting them ahead in added time before adding another midway through the second half.

Former Everton forward Magaye Gueye's penalty in the second minute of added time made the return leg slightly more difficult.

David Healy's team will now take a one-goal lead into the second leg in Azerbaijan next Thursday as they seek to become the first Irish Premiership club to reach the group stages of the Europa League.