Complex sentence: The flogging penalty was practised until 1867 and imposed on both men and women for all the Edo times, but about the mid-Edo period, Women were imprisoned rather than sentenced to be flogged.
Split into simpler sentences: The flogging penalty was practised until 1867 and imposed on both men and women for all the Edo times. But about the mid-Edo period, women were imprisoned rather than sentenced to be flogged.