A motion of no confidence in NSW Premier Gladys Berejiklian has been defeated in the Legislative Assembly 38-47.
Opposition leader Jodi McKay moved the motion on Wednesday afternoon, saying Ms Berejiklian had failed to report what she knew about former Wagga MP Daryl Maguire's business dealings to the Independent Commission Against Corruption (ICAC) due to their close personal relationship.
Speaking to the motion, Ms McKay said the debate was not about Ms Berejiklian's personal life.
"I will defend to the hilt her right to have a private and personal life, including a relationship," Ms McKay said.
"What this motion is about is the Premier's conduct as a public official, it is about the Premier's integrity, it is about what standards she applies to members and ministers of her government and, importantly, the standards she applies to herself."
Ms McKay pointed to texts obtained by ICAC from 2014 which showed Ms Berejiklian congratulating Mr Maguire for obtaining a commission for facilitating a motel sale.
She said a member of parliament receiving a commission from a property developer was "a red flag like no other red flag," and Ms Berejiklian should have told ICAC what she knew of Mr Maguire's activities back in 2018 when he first appeared at the commission.
Speaking at a press conference earlier in the day, Ms Berejiklian said she maintained a "clear separation" between her personal and work life and again denied she knew of any wrongdoing at the time.
"Never, ever, have I done anything wrong in relation to my position," she said.
Ms Berejiklian said Mr Maguire had access to many people with influence within the NSW government and "achieved nothing."
"In relation to me, in relation to my colleagues, in relation to the public servants involved, he got nowhere ... that is what's important here," she said.
Ms Berejiklian's colleagues Dominic Perrottet and Andrew Constance spoke in the Premier's defence, praising her leadership.
Mr Constance said ICAC had made no allegations against Ms Berejiklian, and supported her claims she did not know about any wrongdoing in relation to his business dealings.
"We have all been played by (Daryl Maguire), including the Premier, and we are sickened by it," Mr Constance said.
Murray MP Helen Dalton announced her intention to speak in support of the no confidence motion on Twitter ahead of the debate, but the House voted the debate be cut short before she spoke.
Ms Dalton voted in support of the motion, while Wagga MP Joe McGirr and Cootamundra MP Steph Cooke voted against.