Legally
Le·gal·ly
Legally
adv.
In a legal manner.