Edinburgh (15) 28
Tries: Talei, Visser, Thompson Con: Blair Pens: Blair 3
Glasgow Warriors (11) 17
Try: Harley Pens: Jackson 2, Gregor 2
There were mixed feelings for Glasgow as they retained the 1872 Cup
Glasgow Warriors retained the 1872 Cup despite Edinburgh securing a Magners League victory thanks to a late breakaway Jim Thompson try.
Ruiridh Jackson penalties gave Glasgow an early advantage, but Edinburgh struck back with tries from Netani Talei and Tim Visser before half-time.
A Robert Harley try and Colin Gregor's two penalties gave Glasgow hope despite successful kicks from David Blair.
But, as they pressed for a winning try, Thompson intercepted to touch down.
However, it was Glasgow who lifted the trophy with a one-point aggregate victory after Monday's 30-18 win at Firhill and despite their four-game winning streak coming to an end.
Glasgow made the better start, dominating the opening stages that produced two early penalties for offside, driven home from distance by Jackson.
However, two stunning tries from the home side propelled them into a 12-6 lead by the 20-minute mark, with Magners League top try scorer Visser having a hand in both.
The first stemmed from a lineout, with Visser coming off his wing to carve up centre field before putting number eight Talei under the bar for Blair to convert.
Seven minutes later, Talei attacked off a scrum in his own half and the flowing move ended with Visser touching down for his ninth try of the season.
Blair was off target with the conversion on this occasion and Glasgow had the better of the period up to half-time.
A late try from Thompson (right) secured Edinburgh's win
And they clawed back five points through a fine touchdown by their find of the season, flanker Harley, who finished a move involving number eight Richie Vernon and centre Max Evans.
However, Jackson could not kick the none-too-difficult conversion and also failed with a penalty attempt.
Opposite number Blair showed him how to do it as the clock passed the 32-minute mark with Edinburgh leading 15-11.
Craig Hamilton was sent to the sin bin as the home side paid the price for consistent infringement, but Jackson again failed to make them pay and his penalty struck a post.
Both sides were reduced to 14 men minutes before half time when Glasgow's John Barclay was yellow carded.
Although Glasgow held out until he returned to the field after the break, and with the quality of rugby had fallen away after the restart, it was Edinburgh who benefited as the visitors were repeatedly penalised by referee Neil Paterson.
It kept Glasgow pinned in their half and two Blair penalties widened the gap to 21-11, leaving Edinburgh 20 minutes to make up the three-point aggregate deficit.
However, Glasgow found another gear in the closing stages and two penalties from Gregor just about settled the destiny of the 1872 Cup.
Glasgow piled on the pressure in an attempt to win the Magners League points.
However, just as it looked like the Warriors were going to cross the line for victory, Thompson's interception from deep inside his own half and a Blair conversion gave Edinburgh a victory they just about deserved.
Edinburgh head coach Rob Moffat:
"I am pleased with the win, although we looked a bit nervous at times.
"We still have a lot to play for this season and hopefully we can kick on now.
"We have Scarlets next Saturday and need to get up the league table."
Glasgow Warriors head coach Sean Lineen:
"I am really disappointed. A couple of guys did not front up today.
"Not enough of our players played well enough and Edinburgh deserved to win."
Edinburgh: Thompson, L. Jones, Cairns, Houston, Visser, D. Blair, Laidlaw, Jacobsen, Ford, G. Cross, Hamilton, MacKenzie, Grant, Rennie, Talei.
Replacements: Webster for L. Jones (56), De Luca for Cairns (52), M. Blair for Laidlaw (44), Traynor for Jacobsen (52), Young for G. Cross (56), S. Turnbull for MacKenzie (62). Not Used: Kelly, Newlands.
Glasgow: Stortoni, O'Hare, Evans, Murchie, van der Merwe, Jackson, Gregor, Welsh, Thomson, Low, Gray, Kellock, Harley, Barclay, Vernon.
Replacements: Aramburu for O'Hare (56), Horne for Murchie (68), Pyrgos for Jackson (52), Grant for Welsh (53), Hall for Thomson (52), Tkachuk for Low (56), Muldowney for Kellock (65), Wilson for Vernon (56).
Ref: Neil Paterson (SRFU)