During the Proto–Three Kingdoms of Korea period, Daegu was the site of a walled-town polity known in historical records as Dalgubeol. Shilla defeated the other Three Kingdoms of Korea in the late 7th century, with assistance from Tang China.
Shortly thereafter, the king of Shilla considered moving the capital from Gyeongju to Daegu, but was unable to do so.
However, it appears that the conduct of the Hubaekje forces at this time changed local sympathies to favor Wang Geon, who later became the king of Goryeo.
Numerous place-names and local legends around Daegu still bear witness to the historic battle of 927.
The Patriotic Women's Educational Society, or aeguk buin gyoyukhoe (애국부인교육회), was based in the city.