Merriam-Webster Online Dictionary
amicus curiae (noun) one (as a professional person or organization) that is not a party to a particular litigation but that is permitted by the court to advise it in respect to some matter of law that directly affects the case in question
Synonyms:
friend of the court