Complex sentence: When the Emperor died, the Crown was left for his daughter Urraca, while Teresa inherited the County of Portugal and, in 1095, Portugal broke away from the Kingdom of Galicia.
Split into simpler sentences: When the Emperor died, the Crown was left for his daughter Urraca, while Teresa inherited the County of Portugal. In 1095, Portugal broke away from the Kingdom of Galicia.