Legally

Le·gal·ly

Legally

adv.
  1. In a legal manner.