The chief legal adviser to the Welsh Assembly Government is called the Counsel General.
The role is not a ministerial position, but it nonetheless forms part of the Welsh Assembly Government.
As a political appointee, the Counsel General does not have to be an Assembly Member.
He or she is appointed by the Queen, on the advice of the First Minister. The First Minister's nomination needs to be agreed by the Assembly.