lawfully
law-ful-ly
adverb
In a manner that is permitted or recognised by the law.
"He lawfully inherited the property."
Thesaurus
Synonyms: legitimately, licitly, de jure, legally
Antonyms: illegally, illegitimately, illicitly, lawlessly, unlawfully