SAN FRANCISCO, Calif — A Mexican man who was acquitted of killing a woman on a San Francisco pier in a case that became a national flash point has been found incompetent to stand trial on federal gun charges.

A U.S. District Court judge said in a court order Friday that Jose Inez Garcia-Zarate was not competent to stand trial because of mental illness that was not being treated.

RELATED: Gun case delayed for man cleared of San Francisco pier death

Lawyers from both sides will meet with the judge Wednesday to decide the next steps in the case.

Garcia-Zarate was acquitted of murder in the killing of Kate Steinle, who was on a pier with her father when she was shot in the back in July 2015. Federal prosecutors charged him with gun possession in 2017.

READ THE LATEST NEWS FROM ABC10:

FOR NEWS IN YOUR COMMUNITY, DOWNLOAD THE ABC10 APP:

Download on the App StoreGet it on Google Play

Stay In the Know! Sign up now for ABC10's Daily Blend Newsletter

WATCH MORE: El Dorado Hills man exonerated in 1985 slaying thanks to new DNA