Zamarstyniv (Ukrainian: Замарстинів, Polish: Zamarstynów) is one of the boroughs of the city of Lviv in western Ukraine.
Surrounded by rich turf deposits, Zamarstyniv also provided the nearby city with wood, fruits and vegetables.
However, it was pawned to one of the burghers (Zebald Worcel), who in turn sold it in 1567 to Mikołaj Sieniawski, a notable member of the Polish-Lithuanian gentry, magnate and the Field Hetman of the Polish Crown.
On February 11, 1695, the village was pillaged by the Tartars, who burnt to the ground a local manor belonging to one of Lviv's counsellors Dominik Wilczek.
During the Battle of Lviv of 1918 heavy fighting between Polish and Ukrainian forces took place in the vicinity of the suburb.
Out of more than 130,000 Jews incarcerated there, most were ultimately deported to concentration camps at Bełżec and Janów Lubelski and by 1943 the ghetto was completely liquidated.