according to the lawParents are legally obliged to make sure their children attend school.
Legally, the shareholders are the owners of the company.
legally binding (=needing to be obeyed according to the law): Once you’ve signed the agreement, it becomes a legally binding document.