sentences:  On 7 March 1330, King Władysław I the Elbow-high granted Magdeburg rights to Tarnów.In the same year, construction of a castle on the St. Martin Hill was completed by Castellan of Kraków, Spycimir Leliwita of Leliwa coat of arms (its ruins can still be seen).Tarnów remained in the hands of the Leliwa family, out of which in the 15th century the Tarnowski family emerged.