Jose Ines Garcia Zarate, a homeless undocumented immigrant, who was acquitted of murder in the shooting death of San Francisco resident Kate Steinle on a city pier, was sentenced to time already served for being a felon in possession of a gun.

Steinle's death in July 2015 reignited a national debate over illegal immigration, especially as then-candidate Donald Trump often cited the case as evidence justifying an immigration crackdown.

Zarate had faced a maximum sentence of three years for his conviction on the state charge of being a felon in possession of a gun. He's been in custody for about 30 months since his arrest for killing Steinle as she was walking arm-in-arm with her father.

Superior Court Judge Samuel Feng denied a defense motion for a new trial on the gun possession charge. Zarate's public defenders had argued that the judge did not properly instruct the jury on the issue that the defendant may have had only "momentary" possession of the gun and therefore did not commit a crime.

The jury of six men and six women decided in November that Zarate had not intentionally killed Steinle after hearing evidence that the single, fatal shot fired had ricocheted off the ground and travelled about 78 feet before striking her. The defense had argued that Zarate found the gun in a cloth under his bench seat and the gun accidentally discharged.

Zarate had been deported five times and was slated to be removed from the United States again in early 2015 when he was transferred by federal authorities to San Francisco to face a local 20-year-old marijuana charge. That charge eventually was dropped and local authorities released him in accordance with San Francisco's sanctuary-city policies . Steinle's death occurred several weeks later.

Copyright 2018 NPR. To see more, visit http://www.npr.org/ .