A man who was shot last week during an attempted home invasion that resulted in a double homicide has been charged with five felonies, including murder.

Roberto Carlos Tirado Osuna, 26, is charged with two counts of murder, first degree burglary, attempted home invasion robbery and assault. He was arrested Sunday but has not been arraigned because he is still in the hospital recovering from a gunshot wound.

Fontana police declined to discuss specifics of the incident that played out Friday morning in the 7400 block of Almeria Court but confirmed that Osuna has been arrested.

Officers were called to the quiet neighborhood about 9 a.m. Friday and found two men dead inside a home. Coroner’s officials have identified them as Robert Ramirez, 36, of Fontana, and Lucio Chavez Jimenez, 37, of Moreno Valley.

Two nearby schools were on lockdown for nearly three hours while police searched the area for outstanding suspects.