A neighbour rescued two teenage boys from a Brampton, Ont. house fire that killed the father of one of the boys on Friday morning, officials said.

When the father was rescued by firefighters from the basement of the house, paramedics performed CPR, but he was pronounced dead in hospital, a Brampton Fire official told CTV Toronto.

The neighbour was out walking when he noticed smoke pouring from a home, and heard banging on the back door.

He opened the door and ran in, freeing two teenagers who were trapped inside. One of the teens was the son of the deceased and the other was the boy's friend.

The neighbour helped the teens escape the house as it filled with smoke. He told reporters at the scene that he didn't know the father was in the basement.

He and the boys are both suffering from smoke inhalation, but are expected to be fine.

Firefighters were called to the Goodwood Road home, near Bramalea Road and Queen Street, shortly after 6 a.m. The cause of the fire is still being investigated.