According to one version, it was all because of St. Ursula and the 11,000 Virgins.
According to all versions, the presence of St. Ursula and the 11,000 Virgins was coincidental and had no effect on it.