By law refers to something that is required or mandated by the legal system. There are several synonyms for this term, including legally, lawfully, and authorized. Legally is often used to describe actions or behaviors that are permitted or required by law. Lawfully, on the other hand, emphasizes that a particular action is not only permitted but also conforms to legal standards. Similarly, authorized emphasizes that a particular action has been granted permission by an official or governing body. Other alternatives to by law include in accordance with the law, pursuant to law, and decreed by law. Whatever term you choose to use, it's critical to remember that adherence to the law is essential to maintaining social stability.