Leeds hit back from 8-0 down to lead twice in the second half.
Trinity levelled both times and the game was only settled through a penalty goal in golden point extra-time.
It was a scrappy contest which was high on effort, but low in quality.
Here's how players from both teams rated.
27 Jack Broadbent: Safe, had some good moments, unfortunate with disallowed try 6
24 Luke Briscoe: Close to a wonder-try, heavily involved 6
4 Konrad Hurrell: Strong second half with a try and vital extra-time run 7
2 Tom Briscoe: No chances, but cleared his line well at times 6
5 Ash Handley: Fumbled difficult kick for Trinity's second try, but worked hard 6
15 Liam Sutcliffe: Got more involved in the second half 6
7 Luke Gale: Looked a bit rusty, took his drop goal well 6
8 Mikolaj Oledzki: Strong stints 7
14 Brad Dwyer: One nice break, but never quite got on a roll 6
10 Matt Prior: Some costly penalties, but took Rhinos forward 7
11 Alex Mellor: Brave return after early knock, some good moments and errors
12 Rhyse Martin: Crucial try, great second half conversion and stepped up after the break 7
26 Jarrod O’Connor: Very good, big involvement for Hurrell's try 8
9 Kruise Leeming: Added direction after team's poor start 6
19 King Vuniyayawa: Did well, provided go-forward 7
22 Sam Walters: Nothing spectacular, but steady 6
31 Morgan Gannon: Old head on young shoulders, huge promise 8
28 Olly Ashall-Bott: Covered most of Leeds' threats 6
27 Lee Kershaw: Safe and ran strongly 6
4 Reece Lyne: Created a try and posed a threat at times 7
20 Joe Arundel: Steady, but no opportunities to attack 6
5 Liam Kay: Took his try well and prevented Luke Briscoe scoring 6
1 Max Jowitt: Out of position, but some good moments 6
7 Mason Lino: Tried really hard, but shouldering a heavy burden 6
10 Tinirau Arona: One bad error marred a strong game 6
19 Jordan Crowther: Suffered foot injury in opening 10 minutes 5
12 Kelepi Tanginoa: Got through a lot of work 6
11 Matty Ashurst: Made a welcome return, lifted the pack 7
14 Jay Pitts: Unlucky for decisive penalty 6
13 Joe Westerman: Game's best player, dug in and moved ball well 8
8 David Fifita: Suffered game-ending rib injury soon after he came on 5
30 Josh Eaves: Good involvement after early introduction 7
15 Eddie Battye: Got stuck in 7
17 Chris Green: Limited impact 6
Referee: Robert Hicks (Oldham) 7
Support the YEP and become a subscriber today. Enjoy unlimited access to local news and the latest on Leeds United, With a digital subscription, you see fewer ads, enjoy faster load times, and get access to exclusive newsletters and content. Click here to subscribe.