Complex sentence: The Theatiner Church in Munich was built from 1663 onwards as a gesture of thanks for the birth of the long-awaited heir to the Bavarian crown, Prince Max Emanuel in 1664, he commissioned the building of Nymphenburg Palace, near Munich.
Split into simpler sentences: The Theatiner Church in Munich was built from 1663 onwards as a gesture of thanks for the birth of the long-awaited heir to the Bavarian crown, Prince Max Emanuel. In 1664, he commissioned the building of Nymphenburg Palace, near Munich.