LOMA LINDA (CBSLA.com) – A man has been arrested in an attack that left a Loma Linda homeless man fighting for his life.

The San Bernardino County Sheriff’s Department reports that the victim was pushing a shopping cart at about 2 p.m. Wednesday at Mountain View and Prospect avenues when he was confronted by the suspect. A fight ensued, during which the suspect struck the victim with two separate weapons, leaving him with life-threatening injuries to his chest and abdomen, the sheriff’s department said.

READ MORE: Historic Season Ends In Heartbreak For California School For The Deaf - Riverside

The victim was rushed by ambulance to Loma Linda Medical Center, where he underwent several hours of surgery. His name and condition were not confirmed.

READ MORE: Melrose Action Raises $28k For Camera Operation After Recent Rash Of Robberies

On Thursday, sheriff’s investigators identified George Ramirez as the suspect. He was arrested at his San Bernardino home Friday on charges of attempted murder. His bail was set at a half- million dollars.

MORE NEWS: Suspicious Vehicle In Beverly Hills Prompts Response From Bomb Squad

The sheriff’s department did not disclose a possible motive in the attack.