For the purpose of the lawsuit. For example, a guardian "ad litem" is a person appointed by the court to protect the interests of a minor or legally incompetent person in a lawsuit.