SEVEN people including four children had to flee their home in the early hours of today after a suspected arson attack.
Three fire crews were called to the house fire, in Scott Street, Keighley, at 1.45am.
Police have said the blaze could easily have resulted in someone being killed.
Firefighters from Keighley, Bingley and Silsden attended the fire at the mid-terrace house, which is being investigated by police as a suspected case of arson.
Keighley fire chief commander Ned Andrews said: "Four children and two adults were making their way out of a back door when we arrived.
"We had to force our way in and upstairs we rescued one man who was trapped in a room on the first floor.
"He was leaning out of a smashed window to get fresh air.
"He was conscious and was on the phone to our control staff who were giving him advice on how to stay safe.
"He and the people who'd made their own way out were all taken to Airedale Hospital, which is standard procedure.
"The fire had started in the front door area of the house, which is being treated as a suspected crime scene.
"When we left at about 3.30am or 4am our fire investigator and the police were still there.
"Most of the heat and smoke damage was restricted to the front door, but the rest of the house was heavily smoke logged.
"There were working smoke alarms in the house and we believe it was those that woke up the house's occupants, which once again shows how important these alarms are for saving lives."
No one was present at the house shortly after 8am today.
Its front door was boarded up and a first floor window was shattered.
Neighbouring resident Yasser Siddique said he was shocked when he heard emergency services arriving early in the morning.
"We tried to come outside, but the police told us to go back in because they'd cordoned everything off," he said.
"I saw the ambulance staff treating one person, and there was broken glass on the road.
"The police and fire engines were here for a long time."
He said he understood the family that live in the house involved were of Eastern European origin.
"I've lived here for about three years and haven't had any problems before," he added.
A West Yorkshire Police spokesman said: "Seven people, including three adults and four children, were evacuated from the premises and treated for smoke inhalation.
"The matter is being treated as an arson by police and enquiries to determine the cause are ongoing by Bradford District CID and fire service investigators."
Detective inspector Stuart Lyons, of Bradford CID, said: "We are treating this incident very seriously. It was understandably very frightening for all those involved.
"The people within the house were very fortunate to escape without any serious injuries. This could have had a much more tragic ending.
"We have increased police patrols in the area to reassure the local community and our enquiries are very much ongoing."
Anyone who has any information about how the fire may have started is asked to contact Bradford District CID on 101, or the independent Crimestoppers charity on 0800 555111.