in accordance with the law

References in classic literature ?
When he prepares for any undertaking this gentleman immediately explains to you, elegantly and clearly, exactly how he must act in accordance with the laws of reason and truth.
Commenting on the peaceful protests organized by the opposition parties, at the Umma Party, protesting the arrest of some of the opposition elements, Ghandour said the arrests were made because they attempt to inistigate others not to go voting, indicating that the opposition has the right to stage sit-ins, organize symposium and boycott elections in accordance with the law but they have no right to prevent others from voting .
If the police force take their procedures, they will do that in accordance with the law by court order and in accordance to the basic norms on which these things are done," he said.