[1] On 22 April 2021, Pegg announced he would be resigning within several weeks to undergo treatment for cancer.
[4] Compelled by his objection to the rise of Pauline Hanson's One Nation, he joined the Australian Labor Party at the age of 17 in 1998.
Ostapovitch had won the previously safe seat from Labor during the Liberal National Party of Queensland landslide of the 2012 election.
In the subsequent 2017 and 2020 elections, Pegg increased the margin of Stretton back into safe territory for Labor, winning 64.8% of the two-party preferred vote in 2020.
He died at age 40 on 10 June 2021, seven weeks after he announced he was retiring from politics to focus on his health.