Ill discipline ruined Thornhill Trojans' hopes off ending a promotion campaign with another win in a fiery National Conference League Three defeat away at Stanningley.
The hosts, who still had plenty to play for, drew first blood with a Dean Parker try which Callum Smithson converted.
This was shortly followed by a Smithson drop goal which extended the home side's lead.
But a try from winger, Mindaugas Bendikas, narrowed the scores.
The home side weren't willing to back down to the already promoted visitors and forced the Trojans into a mistake which led to another try for Smithson, which he converted.
But the Trojans were showing grit in a physical contest and Bendikas narrowed the defecit to a point when he crossed in the corner for an unconverted try.
A Stanningley try from Josh Roberts, who capitalised on a lose pass, touched down to extend the Leeds side's advantage to 17-10 at the break.
In the second half the Trojans battled hard to get back into the match and closed the gap through Joel Gibson who touched down and converted his own try.
But Stanningley continued to look dangerous and two quick fire tries from Mark Wool put the hosts in a commanding position which visibly frustrated
Liam Morley went over late on but Stanningley were always in control and went further ahead from a Smithson penalty goal.
In the final 10 minutes emotions spilled over and Joel Gibson was shown a red card after his reaction to Jackson Green's try which sealed the win for Stanningley.
He joined Bendikas, Luke Carter and Danny Ratcliffe who had already been sin binned.
The 35-22 win for Stanningley earns them a home tie in the semi-final of the play-offs whereas the Trojans can quickly forget their last game of the season and continue to celebrate their promotion to Division Two