A terrifying multistory blaze broke out at a hotel in Dubai in the United Arab Emirates on Thursday. The hotel is close to the Burj Khalifa, the world's tallest skyscraper at 905 yards (828 meters), where a massive New Year's fireworks show took place to ring in 2016.

Immediately, onlookers began posting that The Address Downtown Dubai hotel was engulfed in flames reaching up over a dozen stories.

The fire, thought to have originated from outside the 20th story of the hotel, was said to be 90% contained with internal fire extinguishers keeping the flames outside, according to the Dubai Media Office.

However, just as the flames were dying down and the new year quickly approaching, another explosion apparently rocked the building.

Fourteen people are said to have sustained minor injuries so far. One person reportedly had a moderate injury and another suffered a heart attack due to overcrowding and smoke inhalation, according to the Dubai Media Office.

Burning debris could be seen raining down from the building as fire trucks initially raced to the scene. Onlookers gathered to watch the inferno, but were asked to leave, according to the BBC.

Wounded people are seen outside the Address Downtown Dubai hotel and residential block after a fire engulfed the skyscraper in downtown Dubai in the United Arab Emirates, December 31, 2015. REUTERS/Ahmed Jadallah

Several people uploaded videos of the fire.

Dubai planned to wow spectators with three separate firework displays. The show began at the Burj Khalifa, which organizers said was fitted with 400,000 LED lights. They said 1.6 tons of fireworks would be used in the display.

From there, the fireworks were to light up the sky around the sail-shaped Burj Al Arab and later down near the Dubai Marina. Fireworks also on display in Abu Dhabi, the capital of the country of seven emirates.

An official from the Dubai Civil Defence told Gulfnews.com that "three teams are battling the flames, and they almost have it under control," adding that the hotel had been evacuated.

Despite the shock and injuries caused by the fire, the massive firework display took place right across from the smoldering Address hotel.

Locals are offering shelter and assistance to those displaced by the fire with the Twitter hashtag #NeedAnAddress.

—Dubai Media Office (@DXBMediaOffice) December 31, 2015

The Associated Press posted this video of the blaze: