Ad litem

From Latin, meaning "for the lawsuit," i.e., for purposes of the current legal action.  A guardian ad litem is a guardian appointed by the court to act on behalf of a minor or incompetent person.