Legal Definition

In accordance with and not in violation of the law; having any relation to the law.