Complex sentence: Finally he had her committed to a mental asylum, but after a public outcry, she was released a few weeks later.
Split into simpler sentences: Finally he had her committed to a mental asylum. But, after a public outcry she was released a few weeks later.