Acting in perfect consonance to the law, without incurring guilt or consequent punishment.

See MAN.