SASKATOON — Scott Moe is the next premier of Saskatchewan.
It took five ballots in the preferential system for the former environment minister to win the Saskatchewan Party leadership.
Moe beat out three other provincial cabinet ministers and a senior civil servant to win the job.
"Tonight, my commitment to you and to everyone across this province is that I will always stand with you," Moe told cheering supporters. "I will stand with your community and I will always stand with Saskatchewan and our party will always stand with Saskatchewan."
He takes over from Brad Wall, who has consistently ranked as one of the country's most popular and well-known premiers.
Wall enjoyed unbridled economic and political success throughout much of his time as premier, leading his party to three straight majority governments.
He surprised many in August when he announced he was calling it quits, as public anger was lingering over an austerity budget that both raised taxes and made deep spending cuts.
He pitched his departure as an opportunity for renewal within the Saskatchewan Party, which has been in power since 2007.
Moe will lead a province in a very different fiscal position than the one Wall enjoyed for much of his tenure.
Low resource prices have led to large public deficits, despite a recent increase to the provincial sales tax and deep program cuts.
An investigation into a government land deal is in the hands of out-of-province prosecutors and could lead to charges.
The government is locked in a fight with the federal Liberals over Saskatchewan's refusal to bring in a carbon tax, and is feuding with Alberta over trade issues.
While Moe won the leadership, it was Wall who gave one of the most fiery addresses of the night.
On his way out after 10 years as premier, Wall delivered a final podium-pounding speech, taking aim at the Opposition NDP in his province and the governing New Democrats next door in Alberta.
It's like their ideology has become an orthodoxy," Wall said. "It's like a church. You can picture it, can't you, this church — thick orange shag rug in the aisle and lava lamps at the altar."
He blasted Alberta's government for running a $10 billion deficit with no immediate plan to pay it back, and he warned the NDP in Saskatchewan would do the same.
"Look next door," Wall said. "They'll add $30 billion to the debt of future Albertans in just three years, with no path to balance ... at least none in the life of the current government."
At the same time, Wall heralded his government's achievements around economic development and population growth, as well as its steadfast resistance to a carbon tax called for by the federal Liberal government.
He also took a shot at the federal NDP and its anti-fossil fuel "Leap Manifesto."
"This thing could not be any more anti-Saskatchewan if it were called the 'We Hate Bunny Hugs, Perogies and Vi-Co Manifesto,"' he said, referring to the uniquely Saskatchewan terms for hoodie and chocolate milk.
The next provincial election in Saskatchewan is set for 2020.
The Saskatchewan NDP, which will pick its own new leader later this year, congratulated Moe on his win, then went on the attack.
"For the people of Saskatchewan, it's going to be the same bad management and cruel and heartless cuts," interim leader Nicole Sarauer said in a statement.
Also on HuffPost: