Complex sentence: In most Western countries, suicide is no longer a crime, it however was in most Western European countries from the Middle Ages until at least the 1800s.
Split into simpler sentences: In most Western countries, suicide is no longer a crime. It, however, was in most Western European countries from the Middle Ages until at least the 1800s.