Complex sentence: Joanna made a pact with the Kingdom of Sicily, preventing them from invading at the same time and married Louis on 22 August 1347, without seeking the necessary Papal dispensation, because of their being closely related.
Split into simpler sentences: Joanna made a pact with the Kingdom of Sicily, preventing them from invading at the same time. She married Louis on 22 August 1347, without seeking the necessary Papal dispensation, because of their being closely related.