Labor's Magenta Marshall will replace Mark McGowan as the new member for Rockingham.
Ms Marshall won nearly 50 per cent of the primary vote in the by-election, followed by Liberal candidate Peter Hudson with 17.7 per cent and independent Hayley Edwards coming at third with 16 per cent.
Ms Marshall called the election victory around 7.30pm on Saturday.
"I'm honoured to be elected as the new member for Rockingham! I'll always stand up for our community," Marshall said in a Facebook post.
Despite the win, Labor's primary vote fell more than 30 per cent since Mark McGowan's landslide election victory in 2021, which saw him receive 83 per cent of the primary vote.
Peel region businesses, organisations encouraged to apply for new round of RED grants
Mandurah Police continue search for missing man
New mural unveiled at Austin Lakes Baptist College
MARC staff recognised at 2025 Royal Life Saving WA Bravery Awards
Hefty fines for local fisherman after catching pink snappers out of season
WATCH: Shocking footage captures youths hanging out of moving car in Secret Harbour, Golden Bay
Shire to leave whale carcass to rot on Preston Beach due to cost of removal
10-year-old boy charged over attempted armed robbery in Warnbro
Dawesville couple charged over alleged cruelty to sick, elderly dog