Complex sentence: Alfonso had married Maria Christina in order to secure the succession to the throne, he did not love his wife and was disappointed when she gave birth to two daughters, while he already had two extramarital sons.
Split into simpler sentences: Alfonso had married Maria Christina in order to secure the succession to the throne. He did not love his wife and was disappointed when she gave birth to two daughters, while he already had two extramarital sons.