The Liberal National Party has retained the Queensland state seat of Callide in a by-election.
Bryson Head was voted in on Saturday after former LNP member Colin Boyce vacated the seat to run for federal politics.
Mr Head will be the youngest member sitting in the Queensland parliament.
"He's young, he's hungry and he's ready to advocate for a better future for his area," Queensland LNP leader David Crisafulli said in a statement.
"The big two-party preferred swing towards the LNP shows the importance of choosing strong local candidates who are focused on issues that matter to Queenslanders."
The seat of Callide covers some 74,000 square kilometres from central Queensland to the Western Downs, northwest of Brisbane.
Mr Head comfortably defeated Labor's Bronwyn Dendle, securing 50.83 per cent of first preference votes, according to initial results from the Queensland Electoral Commission.