(a) The Attorney General is the legal adviser of and shall represent and otherwise perform all of the legal work for:
(1) the Board of Supervisors of Elections of Baltimore City;
(2) the Board of Liquor Commissioners of Baltimore City; and
(3) the Sheriff of Baltimore City.
(b) (1) The Attorney General may advise or represent a political subdivision of the State or any of its officers, employees, or agents as to a matter that relates to State or federal antitrust law.
(2) Representation under this subsection may include an appearance in an action or administrative proceeding to defend the subdivision, officer, employee, or agent.
(3) The Attorney General may require a political subdivision to pay into the General Fund of the State reimbursement for the costs of defending the subdivision in an action or proceeding.
(4) This subsection does not deprive any political subdivision, officer, employee, or agent of any right to retain counsel, at the expense of the subdivision, officer, employee, or agent.