The police said Garcia attacked Piara Singh, 82, with a steel rod outside Nanaksar gurdwara at Cherry and North avenues in south Fresno, California, on May 5. Singh's injuries included broken ribs and head wounds, the Fresno Bee reported.
In the state hospital, Garcia will be required to take anti-psychotic medication. He will remain at the hospital until he is competent to stand trial, but his stay can be no longer than 15 years, the judge said.
Typically, inmates spend less than a year in a state hospital before their competency is restored, lawyers said.