In the 13th century, the Duchy of Sandomierz was several times raided by the Mongol hordes (see, e.g., Sack of Sandomierz (1241) and Sack of Sandomierz (1260)). In the late 1280s, Duke Władysław I the Elbow-high took control over Sandomierz, but in 1292, he was forced by Wenceslaus II of Bohemia to abandon the province. In 1304, Lokietek returned, capturing Wislica, and after the death of Wenceslaus (1305), he seized the whole province. During the reign of Lokietek, the Duchy of Sandomierz was turned into Sandomierz Voivodeship.