Prior to the 2019 New South Wales state election, she had been courted as a possible Liberal candidate by then-Premier Gladys Berejiklian.[6]Nathaniel Smith was selected as the Liberal candidate for Wollondilly instead. Hannan ran as an independent against Smith, achieving 44.5% of the two-party preferred vote.[7] In the 2023 election, she ran again as an independent and was supported by the teal-alignedClimate 200.[8]