A man accused of killing a woman last December, who was found outside a Stockton church, was committed to a state hospital this month.