An explosion has levelled two apartment buildings in East Harlem, New York City. Police say at least two people have been killed.

Law enforcement officials have ruled out a terrorist attack and told CNN that the building collapse was caused by a gas explosion.

A resident in a nearby building reported smelling gas shortly before the explosion. Con Edison spokesman Bob McGee says the utility dispatched two crews just after 9:15 am, but they arrived shortly after the explosion.

Firefighters work in the rubble of a collapsed building in Harlem, new York
Firefighters work in the rubble of a collapsed building in Harlem, new YorkGetty
An injured man is evacuated by emergency personnel
An injured man is evacuated by emergency personnelReuters
A gap can be seen where a building used to be
A gap can be seen where a building used to beGetty
Debris litters the roof of a neighbouring building after the blast
Debris litters the roof of a neighbouring building after the blastGetty
A worker walks along the Metro-North tracks strewn with debris from the explosion
A worker walks along the Metro-North tracks strewn with debris from the explosionGetty
Smoke, dust and steam rise from the scene as firefighters respond to the building collapse at 1646 Park Ave
Smoke, dust and steam rise from the scene as firefighters respond to the building collapse at 1646 Park AveGetty
Firefighters try to extinguish a fire at the site of a building collapse in Harlem
Firefighters try to extinguish a fire at the site of a building collapse in HarlemReuters
Firefighters go through debris and rubble at the site of a building collapse and fire in Harlem
Firefighters go through debris and rubble at the site of a building collapse and fire in HarlemReuters
Firefighters investigate the cause of the explosion
Firefighters investigate the cause of the explosionGetty
Alicia Thomas (left), who lived in one of the two buildings destroyed in an explosion in the East Harlem section of New York City, is comforted by her friend Shivon Dollar
Alicia Thomas (left), who lived in one of the two buildings destroyed in an explosion in the East Harlem section of New York City, is comforted by her friend Shivon DollarReuters
A firefighter is wreathed in smoke and dust on East 116th street
A firefighter is wreathed in smoke and dust on East 116th streetReuters
A man carries a child wrapped in a blanket on East 116th street
A man carries a child wrapped in a blanket on East 116th streetReuters
Firefighters work at the site of the collapsed building in the Harlem neighbourhood of Manhattan
Firefighters work at the site of the collapsed building in the Harlem neighbourhood of ManhattanGetty
Police attend to a man on East 116th street near an apparent building collapse
Police attend to a man on East 116th street near an apparent building collapseReuters
Residents watch emergency personnel work at the site of the collapse in Harlem
Residents watch emergency personnel work at the site of the collapse in HarlemReuters