Prior to the State gaining independence the principal law officers in Ireland were the Attorney General and the Solicitor General. There were however others including that of Serjeant and Law Adviser.
The Ministers and Secretaries Act 1924 provided for the vesting of the powers and functions of the Solicitor General and the Law Adviser in the Attorney General of Saorstat Eireann, as well as those of the Parliamentary Draftsman, the Chief State Solicitor and local State Solicitors.
On the coming into operation of the 1937 Constitution there was established the Constitutional Office of the Attorney General. Article 30 of the Consitution establishes the Office and provides that the Attorney General shall not be a member of the Government. The principal role of the Attorney is as the adviser of the Government in matters of law and legal opinion and attend cabinet meetings in that capacity.
Article 30.3 provides that the prosecution of offences (other than summary offences) is a function of the Attorney General, or of some other person authorised in accordance with law to do so. Following the enactment of the Prosecution of Offences Act 1974 responsibility for the great majority of such prosecutions has been transferred to the Director of Public Prosecutions which Office was created by the 1974 Act.
Since 1922 there have been 28 Attorneys General of the Office, some of these have held Office for more than one term.