Sam Stosur and Ashleigh Barty have sent Australia into their first Fed Cup final in 26 years by taking out the deciding doubles tie against the Belarusian team of Victoria Azarenka and world No. 10 Aryna Sabalenka.

They took out what was a rollercoaster of a match 7-5 3-6 6-2 on Brisbane’s Pat Rafter Arena to book a showdown against either France or Romania in November.

They took the opening set after breaking at 6-5 up before the Belarusian pair hit back to take the second set 6-3.

But in the final set the Australians turned it on, especially Stosur who late in her career may have finally put away some of the mental demons that have plagued her when playing at home.

Stosur was steely and immense in the final set, upping her game to the levels that saw her claim multiple slam doubles titles and the 2011 US Open singles title.

Her volleying and serve were solid, while her shot selection was also spot on, with her forehand as dangerous as ever.

Todd Woodbridge called Stosur’s final set “her best all weekend” before also praising her for her mental strength in bouncing back.

“It was such a classy performance by her,” Woodbridge said of Stosur’s performance.

Stosur herself said she never doubted herself despite a 6-1 6-1 hammering in her reverse singles at the hands of Azarenka — in a match where she looked sluggish and off the pace — but in the doubles Stosur was sharp.

“I was ready to come out here and play some good doubles with Ash, we had never played together before and knew it was going to be a tough one,” Stosur said.

“It’s just super exciting to be in a Fed Cup final. We have all worked so hard all year and will give it our best shot here in November.”

In the reverse singles Stosur it was a dominant performance from Azarenka, who performed like the player she once was when she was world No. 1 and Stosur had no answers for her in a rubber where she could have clinched the tie after Barty had earlier put Australia on the brink of victory, when she crushed world No. 10 Aryna Sabalenka 6-2 6-2.

The win gave Australia a 2-1 edge in the semi-final tie and put them on the verge of a chance at their first title in the event since 1974.