Published: Oct 01, 2010 9:43 PM EDT
Updated: Oct 01, 2010 6:44 PM EDT

BARTOW, Fla. (AP) - Two teenagers charged with murder after a companion was fatally shot while breaking into a house are headed for a juvenile facility for at least a year.

The 15-year-old and 17-year-old pleaded guilty Friday to second-degree murder and burglary. They will be sentenced Oct. 15.

Prosecutors said they were outside when two other teens broke into a Davenport home Sept. 22. The homeowner fired at them, and 15-year-old Otilio Rubio later died from a head wound.

A 16-year-old boy who was with Rubio is expected to be charged as an adult.

Under Florida law, individuals involved in a felony resulting in death can be charged with murder, even if they are not directly responsible for the killing.

The homeowner was not charged.