Gyeongju was designated the "Eastern Capital" in 987, but that title was removed in 1012. For much of the Goryeo period, it was also the seat of the "Andong Daedohobu", the Great Protectorate of the East, which oversaw military affairs for much of eastern and central Korea. However, it was stripped of this distinction as well in the 13th century, after bloody rebellions connected with the Silla restoration movement broke out in the area. At the same time, its boundaries were considerably reduced.