Which kingdom did Galicia later become a part of?