SAN FRANCISCO - Closing arguments are set to begin in the trial of a Mexican man accused of killing a woman on a San Francisco pier in a case that touched off a national immigration debate.

Jose Ines Garcia Zarate is accused of killing Kate Steinle in 2015. He does not deny the shooting but his attorney argues a gun he found went off accidentally.

Prosecutors say Garcia Zarate pointed the gun at Steinle and purposely pulled the trigger.

A jury of six men and six women will hear closing arguments from both sides starting Monday.

The case sparked a fierce immigration debate because city officials released Garcia Zarate because of San Francisco's "sanctuary city" policy. He had been deported five times and was wanted for a sixth deportation.