Complex sentence: The cathedral ceased its religious function in 1956, after the independence of Morocco, and became a cultural centre which is open to visitors.
Split into simpler sentences: The cathedral ceased its religious function in 1956, after the independence of Morocco. It subsequently became a cultural centre which is open to visitors.