From the city's founding, Spytko saw to its development and granted it many rights. In January 1394, King Wladyslaw Jagiello, at Spytko's request, exempted the inhabitants from paying various taxes. Not for very long, however, did Sambor benefit from his actions for the good of the city. In 1399 Spytko participated in the war against the Tatars, in which he was killed on 12 August 1399 near the river Worskla (see: Battle of the Vorskla River). After his death, the Sambor properties passed to his wife, Elzbieta Melsztynska.