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.
The Crown was left for his daughter Urraca. This was in 1095. Teresa inherited. This was in 1095. The County of Portugal and Portugal broke away from the Kingdom of Galicia. The Emperor died.