The premier says he didn’t seek the resignation of the state’s solicitor-general who helped write anti-bikie laws now subject to a High Court challenge.

Premier Campbell Newman says he didn’t ask Queensland’s solicitor-general to resign.

News of Walter Sofronoff’s resignation came on Wednesday as the United Motorcycle Council prepared to lodge a High Court challenge against the government’s anti-bikie laws.

Mr Sofronoff helped write the laws but the government has said his resignation is not linked to the challenge.

Mr Newman praised Mr Sofronoff’s contribution and said he didn’t seek his resignation.

“His resignation is a matter for him, you can go and ask him,” the premier said when asked for the reason behind it.

“I simply thank him today for the great support he’s provided to the government.

“He’s been absolutely terrific. He’s provided advice personally to me, the attorney-general and cabinet and has helped us with a number of laws passed in recent times.”

Earlier, a spokesman for Attorney-General Jarrod Bleijie said Mr Sofronoff was ready to move on after nine years in the job and his departure had nothing to do with the court action.

But Opposition leader Annastacia Palaszczuk says she wants a full explanation.

“It seems highly unusual he’s suddenly resigned,” she said.

“He is highly regarded, not just in government but the wider legal community.

“With the current attorney-general we are stuck with, we cannot afford to lose our best and brightest minds in this state.”