Complex sentence: The palace was largely meant for receiving foreign dignitaries and state functions with the monarch preferring to sleep in private homes.
Split into simpler sentences: The palace was used largely for receiving foreign dignitaries and state functions. The monarch preferred to sleep in private homes.