Solicitor-General Justin Gleeson has resigned, delivering a scorching letter to Attorney-General George Brandis in the wake of Gleeson's demonstration that Brandis misled Parliament and personal attacks on Gleeson by Coalition senators.

Citing the need for the Attorney-General and Solicitor-General to work closely together, Gleeson advised Brandis of his resignation on Monday, saying "I make it perfectly plain that my motivation is solely to further the best interests of the Commonwealth by enabling the restoration of a functional working relationship between the first and second Law Officers".