A New Jersey woman who tried to burn down a house while her boyfriend and five other people were inside has been sentenced to seven years in state prison.

David McNew, Getty Images

Thirty-nine-year-old Yanilda Rosario of Bound Brook must serve 85 percent of her sentence before becoming eligible parole. She pleaded guilty in August to aggravated assault and six counts of aggravated arson.

Rosario admitted setting the September 2011 fire by flicking a lit cigarette into a closet inside her boyfriend's apartment in the two-story house. She then walked into a common hallway and ignited curtains with a lighter.

All the residents survived the fire. But a 29-year-old pregnant woman had to jump from a second-floor window, and Rosario's 45-year-old boyfriend was found unconscious in his bedroom with burns to his body.

(Copyright 2012 by The Associated Press. All Rights Reserved.)