Wales centre Hannah Bluck’s two tries in the dying moments secured a famous win in a pulsating contest at the home of the Scarlets.
Bluck came on as replacement and two defence-splitting runs left the visitors reeling as the home side secured a big win for this young side.
Scrum half Seren Singleton who crossed for two tries, lock Robyn Davies and hooker Chloe Gant all crossed for for Brython. Bluck, skipper Natalia John and Singleton were the pick of a big team performance for the Welsh side who crossed for eight tries.
Thunder returned home to play on Welsh soil after a demanding fixture schedule on the road against the best teams in the league.
The Welsh side was captained by Welsh international Natalia John and welcomed back Wales centre Meg Webb into the starting line-up.
Edinburgh returned to Wales after two back-to-to back defeats to Gwalia Lightning but were still a mid-table side in the league.
The visitors opened the scoring with a try by wing Hannah Walker, who is the leading try-scorer in league this season, crossed in the corner.
Thunder then created an opportunity for wing Ffion Davies after a turnover and a slick passing move but the young wing was just hauled down short of the line.
The home side enjoyed some real pressure in the visitors posts with skipper John having a charge down but the Scots cleared their lines.
But Thunder were not to be denied when scrum half Singleton charged over from short-range to level the scores. Fly half Marshall added the extras to make it 7-5 midway through the first half.
The Scots replied with a try by prop Hannah McMahon, converted by Hannah Ramsay to make it 12-7 to the visitors.
The home side hit back when lock Robyn Davies scored a second try after Thunder pounded the visitors line. Marshall added the extras to make it 14-12.
Edinburgh then scored their second try by Lucia Scott and Macrae added the conversion
Singleton then scored the try of the game after a superb break on the halfway line by centra by Savannah Picton-Powell who delivered a perfect inside pass for the scrum half to score under the posts.
Fly half Marshall added the conversion to make it 21-19 at half-time to Brython Thunder. After the break, Macrae slotted an early penalty to take the lead in a tense and cagey start to the second half.
Hooker Chloe Gant then scored the bonus point try after a real period of pressure by the home side to retake the lead 26-22.
Replacement wing Amy Conchie and Number 8 Merryn Gunderson then scored Edinburgh’s fourth and fifth try to make it 32-26 to the Scots.
Before Bluck’s two-try intervention to steal a famous victory for the Welsh side in this season’s tournament.