Michael Klinger bowed out as the Big Bash League's highest all-time runscorer as he helped Perth Scorchers beat Melbourne Stars.
Klinger was granted a farewell match by the Scorchers after Shaun Marsh was ruled out with a hamstring injury.
Opening the innings and captaining the side, he went into the game needing 29 runs to overtake Brisbane Heat's Chris Lynn as the BBL's record runscorer.
He managed that by scoring 30 before holing out off Liam Plunkett in the 12th over.
Klinger, who has twice been a champion with the Scorchers, had made just 115 runs from nine matches before being dropped.
Perth were already out of contention to make the semi-finals, but they rewarded the crowd with victory in their final home match of the campaign.
Klinger and Josh Inglis, who smacked five fours in his first 14 balls, put on 47 together for the first wicket.
Ashton Turner, who hadn't reached double digits in his previous four games, returned to form with 69 from 42 balls.
Turner hit three sixes and seven fours, putting on 87 for the third wicket with Cameron Bancroft as the Scorchers finished on 182-3 - their highest total of the season.
Glenn Maxwell and Marcus Stoinis shared a superb 106-run partnership to have the visitors on track in their chase.
That came after Nathan Coulter-Nile had picked up two wickets in the first four overs.
Maxwell and Stoinis' partnership reached three figures in 65 balls, but they fell in consecutive overs and no other Stars batsman could manage more than 16 runs.
Coulter-Nile and Matthew Kelly both claimed three wickets for the Scorchers.
Perth Scorchers are 6/5 to win their next game against Adelaide Strikers, who are 8/11.
View all Cricket betting