Oxenhope Rec 5
A hat-trick from Dan Moriarty pushed Oxenhope up to joint second place in the West Yorkshire Premier Division table.
Joel Gallagher and an opponent completed the nap hand.
The result was in the balance right up until the final minutes.
Shelley dominated the first half and deservedly led by a single goal and it could have been far more but for the heroics of Oxenhope keeper Sam Lee.
Shelley put Oxenhope under pressure from the start, reducing the home team to occasional quick break down field and their dominance told when they went ahead after 35 minutes with a powerful strike by Markus Hafner from 30 yards that gave keeper Lee no chance.
Shelley continued to press forward but Lee thwarted their strikers on three occasions with outstanding saves from one-on-ones.
Early in the second half Oxenhope levelled with a fortunate own goal. Craig Morris battled past his marker and drove the ball into the box where a defender, attempting to clear, volleyed into his own net.
Minutes later the home side took the lead. Leon Smith broke away, passed to Tom Marshall whose cross found Moriarty and he slotted his shot beyond the keeper.
It was now Oxenhope who played with confidence, stroking the ball round the pitch but then on the hour Shelley won a corner. The ball came across to their substitute who volleyed the ball into the top angle of the Oxenhope goal.
The visitors were then awarded a free-kick on the edge of the box but keeper Lee produced a top drawer flying save to tip the ball out.
A break down field saw sub Gallagher through on goal his first attempt was blocked by the keeper but his follow-up found the net.
Shelley pressed for the equaliser, leaving their defences thin and Oxenhope took full advantage to break away and found themselves three against the keeper. It looked as if Smith, Marshall and Moriarty were going to spurn the chance but Moriarty eventually took responsibility and put the ball away for his second.
A two-goal cushion with 10 minutes to go made the game look safe only for Shelley to break through the home defence to make it 4-3 with goals from substitutes Warwick Charlton and Liam Riley.
Minutes later they had the chance to equalise when centre back Dayne Ward tangled with their striker on the edge of the box, the referee pointed to the penalty spot and harshly showed Ward a red card.
The penalty was hit with power but Lee pulled off yet another superb diving save to touch the ball on to the bar and to safety.
Moriarty then made the points safe in this thriller when he finished confidently in the final minute to complete his hat-trick but the man of the match accolade had to go to his colleague Lee.
Oxenhope: Lee, Kaine, Day (Andrew), Nelson, Ward, White, Quinlan, Moriarty, Morris (Gallagher), Smith, Marshall.