At times the Kingdom of Galicia existed independently for short periods, but usually formed an important part of the Kingdom of Leon