NSW Premier Gladys Berejiklian says she's worried about the looming Wagga Wagga by-election but "relieved" the man who caused it is finally out of parliament.
The by-election follows the resignation of disgraced former Liberal MP Daryl Maguire who was caught up in a corruption scandal involving the now-defunct Canterbury City Council.
Mr Maguire was secretly recorded by the Independent Commission Against Corruption discussing his potential cut from a property development he'd help get approved.
Ms Berejiklian on Tuesday said she believed the by-election - to be held on September 8 - would come down to "every single vote" despite the government holding the seat by a margin of more than 12 per cent.
"I'm not backward in saying it's going to be really difficult to hold," she told reporters.
The premier later told parliament she was "both pleased and relieved" Mr Maguire had handed in his resignation on Friday.