legally
US /ˈliː.ɡəl.i/
UK /ˈliː.ɡəl.i/

1.
in a way that is allowed or required by law
:
•
The contract is legally binding.
•
You are not legally allowed to park here.
2.
in relation to the law or legal matters
:
•
He works as a consultant, advising companies legally.
•
The case is being handled legally by a team of lawyers.