San Francisco — A jury on Thursday found a Mexican man not guilty in the killing of a woman on a San Francisco pier that touched off a fierce national immigration debate two years ago, rejecting possible charges ranging from involuntary manslaughter to first-degree murder.

The shooting of Kate Steinle came during the presidential primary campaign in 2015 and was used by then-candidate Donald Trump to push for a wall on the Mexican border.

The president called the verdict “disgraceful” on Twitter late Thursday.

“No wonder the people of our Country are so angry with Illegal Immigration,” Trump tweeted.

The suspect’s lawyers said outside court that their client’s immigration status was unfairly exploited for political purposes and had nothing to do with the criminal case.