attorney ad litem
noun
-
: an attorney appointed by a court to act as an advocate for a minor, a proposed ward, or unknown heirs in a particular legal action (such as a divorce)
Note: An attorney ad litem represents a child's best interests and wishes.