(1) Except as authorized by subsection (2) of this section, district attorneys and deputy district attorneys may not engage in the private practice of law.

(2) A district attorney or deputy district attorney may engage in volunteer or pro bono legal work. [1965 c.633 § 2; 1971 c.583 § 1; 1975 c.378 § 7; 1977 c.834 § 5; 1979 c.418 § 8; 1981 c.908 § 2; 2007 c.658 § 1]