Jose Inez Garcia-Zarate, an illegal immigrant who was acquitted of murder in the 2015 shooting death of Kate Steinle, was sentenced to the seven years he has already spent behind bars on Monday after pleading guilty to federal weapons charges earlier this year. 

The 51-year-old Mexican national will now be transported to Texas to face charges for failing to report his location to immigration officials in a separate case. 

Kathryn "Kate" Steinle, 32, was walking with her father and a family friend on a San Francisco pier in July 2015 when she was struck in the back by a bullet and killed. 

Garcia-Zarate, who had been deported from the U.S. five times, acknowledged holding the gun that killed Steinle but said it accidentally fired when he picked it up from underneath a bench. The gun had been stolen from a Bureau of Land Management ranger's car about a week before the shooting. 

Jose Ines Garcia Zarate

Jose Ines Garcia Zarate is led into the courtroom by public defender Jeff Adachi and Assistant District Attorney Diana Garciaor for his arraignment in San Francisco, July 7, 2015. (Michael Macor/San Francisco Chronicle via AP, Pool, File)

Steinle's death ignited a nationwide debate over immigration during the 2016 presidential election, with then-presidential candidate Donald Trump and other Republican lawmakers blaming the incident on San Francisco's status as a sanctuary city. 

29 GOP SENATORS JOIN JOHNSON, BIGGS IN RESOLUTION TO REPEAL BIDEN'S ASYLUM RULE

A San Francisco Superior Court jury acquitted Garcia-Zarate of murder in 2017 but convicted him of being a felon in possession of a weapon. The conviction on the state weapons charge was overturned on appeal in 2019

The federal weapons charges had been pending for five years amid concerns about Garcia-Zarate's ability to stand trial. Two doctors have diagnosed him with schizophrenia, but the Bureau of Prisons "restored the defendant to competency" last June, U.S. District Court Judge Vince Chhabria said. 

As part of the guilty plea to federal weapons charges, Garcia-Zarate admitted that he was on the San Francisco pier on July 1, 2015, and in possession of a pistol loaded with eight rounds. 

"If you return to this country again and you are back in front of me, I will not spare you. Let this be your last warning: do not return to this country," Judge Chhabria said at the hearing on Monday. 

CLICK HERE TO GET THE FOX NEWS APP

Garcia-Zarate's attorney did not immediately respond to a request for comment on Monday. 

Fox News's Michael Lundin and the Associacted Press contributed to this report.