One theory actually places their origins in the Silla dynasty, among the wonhwa, female predecessors of the hwarang.
Many others trace their origins to the early years of Goryeo, when many people were displaced following the end of the Later Three Kingdoms period in 936.