Flagellation was a common penalty for crimes such as theft and fighting. Amputation of the nose or ears replaced flogging as penalty early in the Edo period. The 8th Shōgun of Edo, Tokugawa Yoshimune introduced judicial Flogging Penalty, or "tataki", in 1720. A convicted criminal could be sentenced to a maximum of 100 lashes. "Samurai" and priests were exempt from flogging, and the penalty was applied only to commoners. The convict was stripped of all outer clothing and struck about the buttocks and back. The flogging penalty was used until 1867, though it fell out of favor from 1747 to 1795 intermittently. Both men and women could be sentenced to a flogging, though during one segment of the mid-Edo period, women were imprisoned rather than flogged.