On a New Year's Eve haunted by fears of terrorism, a spectacular fire in one of Dubai's tall towers captured the world's attention. With few exceptions, the celebrations rolled on, and while fire still raged, the Dubai Media office declared on Twitter: "New Year celebrations in Dubai will continue as scheduled."
As 2015 drew to a close, many people were bidding a weary and wary adieu to a year marred by attacks that left nations reeling and nerves rattled.
In Bangkok, site of a deadly bombing months ago, police flanked partygoers. In Paris, residents recovering from their city's own deadly attacks enjoyed scaled-back celebrations. And in Munich, police warned of the threat of a terror attack.
A look at how people around the welcomed the new year:
UNITED ARAB EMIRATES
In the megacity of Dubai, a fire broke out two hours before midnight in The Address hotel, in the area where a massive fireworks display was being prepared.
The five-star hotel is near the Burj Khalifa, the world's tallest building. At least one person suffered a heart attack from the smoke and over-crowding during evacuation, and 14 suffered minor injuries.
Organizers said the Burj Khalifa had been fitted with 400,000 LED lights and 1.6 tons of fireworks would be used in the display.
Burning debris rained down from The Address building as fire trucks raced to the scene. It was unclear what caused the fire, which ran up the 63-story building. The Address has 626 luxury apartments and 196 hotel rooms, according to Skyscraper Center, which tracks skyscrapers.
The French are still recovering from the Nov. 13 attacks that left 130 people dead in Paris, and authorities prepared for a possible worst-case scenario on New Year's Eve. About 60,000 police officers and troops were deployed across the country, and revelers said that made them feel safer.
French President Francois Hollande used his traditional New Year's Eve speech to warn that the terrorist threat is still at its "highest level."
"2015 has been a year of suffering and resistance," he said. "Let's make 2016 a year of courage and hope."
Paris canceled its usual fireworks display in favor of a 5-minute video performance at the Arc de Triomphe just before midnight, relayed on screens along the Champs Elysee, where people chanted.
Paris Mayor Anne Hidalgo said the show was aimed at "sending the world the message that Paris is standing, proud of its lifestyle and living together."
Less than six months after a pipe bomb killed 20 people at the Erawan Shrine in Bangkok, tens of thousands of people rang in the new year at the intersection with live music and a countdown.
Up to 5,000 police officers were in the area, with explosive ordnance disposal experts sweeping the area ahead of time.
Security was beefed up in Malaysia's biggest city, Kuala Lumpur, where fireworks greeted the new year at a historic square and at the Petronas Twin Towers, one of the world's tallest buildings.
Concern in the Philippines on New Year's Eve focused on the use of illegal fireworks, which last year injured more than 850 people. Shopping malls and cities organized fireworks displays to discourage people from lighting their own firecrackers.
An annual procession of the Black Nazarene, a black wooden statue of Jesus Christ, was held a day earlier than usual Thursday to prevent injuries from mounds of trash and unexploded firecrackers that litter Manila's streets after New Year's revelries.
New Year's Eve is Japan's biggest holiday, and millions of people crammed into trains to flee the cities for their hometowns to slurp down bowls of noodles, symbolizing longevity, while watching the annual "Red and White" song competition on television. As midnight approached, families bundled up for visits to neighborhood temples, where the ritual ringing of huge bronze bells reverberated through the chill.
Tokyo was on special alert for security issues, with posters in subways and other public spaces warning people to keep their eyes open for suspicious packages or activities.
South Koreans marked New Year's Eve with traditional bell ringing ceremonies, fireworks and outdoor music and dance performances. One celebration was organized at a town near the border with rival North Korea to watch one of the ceremonies and wish for peaceful Korean unification.
In the final hours of 2015, Pope Francis encouraged humanity to hang on to recollections of good deeds so that gestures of goodness can be seen triumphing over evil.
Francis presided over a year's end prayer service Thursday evening in St. Peter's Basilica, where he mused about how people are sometimes driven by "insatiable thirst for power and by gratuitous violence." He said it was impossible to forget "so many days marked by violence, by death, by the unspeakable suffering of so many innocents."
New Zealand, the first nation with a sizable population to celebrate the New Year, counted down the seconds to midnight with a giant digital clock on Auckland's landmark Sky Tower. Horns blared and crowds cheered as the tower was lit up with fireworks, with colors shifting from green to red to white.
Simultaneous fireworks displays erupted along Sydney's famed harbor, where people crowded onto balconies, into waterside parks and onto boats as they jockeyed for the best view, clinking glasses and whooping with joy as the first pyrotechnics exploded.
More than 1 million people had been expected to watch the glittery display, featuring a multicolored fireworks waterfall cascading off the Sydney Harbour Bridge and effects in the shapes of butterflies, octopuses and flowers.
An official New Year's Eve celebration was staged near Beijing's Forbidden City with performances and fireworks, and one of China's most popular TV stations broadcast a gala from the National Stadium, known to most as the iconic Bird's Nest.
For safety reasons, Shanghai closed subway stations near the scenic waterfront Bund, mindful of a stampede last New Year's Eve that killed 36 people and blemished the image of China's most prosperous metropolis.
Gaza's Islamist Hamas rulers banned New Year celebrations in the Palestinian coastal enclave. Police spokesman Ayman Batniji said hotels and restaurants were allowed to hold parties a day earlier or a day later.
"Celebrating the new year contradicts the instructions of Islamic religion," Batniji said. "It's a Western custom that we don't accept in Gaza."
In Cairo, people put aside fears of the growing number of militant attacks throughout the country to celebrate the new year. Engineering graduate Mohamed Youssef, whose military service begins in a few months, attended a house party.
"It doesn't matter if they deploy me to Sinai or throw me in the western desert," he said. "I don't care if I lose a leg or my life. Tonight, we drink and dance!"
At the Giza Pyramids, hundreds of people gathered for a fireworks and lighting display at the stroke of midnight.
Police in Kenya, which has been repeatedly attacked by al-Shabaab militants from neighboring Somalia, urged vigilance as many people prepared to celebrate the new year in hotels and watch midnight fireworks displays. Unauthorized fireworks were banned as safety hazards "in view of the elevated threat of terrorism," police said.
Rainy weather dampened the New Year celebrations in Berlin, where security was tighter than in previous years. Several hundred thousand people still turned out for several minutes of fireworks at the Brandenburg Gate, wishing each other "Froehes neues Jahr" and expressing their hopes for a peaceful 2016.
In Munich, police warned about an hour before the New Year of a "serious, imminent threat" of a terror attack. Despite the call by police for people to stay away from crowds, thousands of people were still on the streets to meet the new year with fireworks.
Major celebrations marked by fireworks spectaculars were planned in London, Edinburgh and other big cities despite a terror threat judged to be severe. Police advised revelers not to go to the fireworks displays without tickets and to be ready to have their belongings searched.
Rio de Janeiro kicked off its Olympic year with a fiesta on Copacabana Beach attended by more than 2 million people, according to police estimates. Brazil's most popular New Year's Eve show was illuminated by 24 tons of fireworks fired off over almost 16 minutes. To celebrate Rio's hosting of the 2016 Summer Games in August, the soundtrack for revelers included music from previous Olympics and songs paying homage to samba on its 100th anniversary.
Rio authorities said they weren't as worried about terrorism as other cities. Police used two monitoring trucks to follow suspicious movements during the party. That equipment also will be used in security operations during the Olympics.
Around 1 million people converged on Times Square for the annual New Year's Eve celebration. An 11,875-pound Waterford crystal ball descended as revelers counted down to 2016 before sharing hugs and their first kisses of the year under a blanket of confetti.
The glitzy party included musical acts including Demi Lovato, Nick Jonas and Carrie Underwood.
This year's festivities were attended by nearly 6,000 police officers, including members of a specialized counterterrorism unit.
The already illuminated Las Vegas Strip greeted 2016 with an extra glittery glow from fireworks exploding on cue atop several casino rooftops.
New Year's Eve was expected to pack in 332,000 people on the Las Vegas Strip and downtown's Fremont Street bundling up for the chilly occasion.
New Year's Eve is worth an estimated $228 million to the destination, and its 149,086 hotel rooms were almost fully booked, according to the Las Vegas Convention and Visitors Authority.
It's worth quadruple a regular night of tips for 36-year-old Mike Powell who dressed in a glittery Elvis jumpsuit to pose for photos and collect tips with two other Elvises and a man dressed as a "Hangover" movie character.
In the Windy City, a 70-foot, six-point star, modeled after those on the city's flag, ascended a hotel tower to bring in the new year. The inaugural "Chi-Town Rising" event in Chicago's downtown also featured musical performances from headliners Chicago and American Authors.
Ballpark Village was hosting the city's only ball drop at its second annual NYE Live! Event. It provided access to five different venues, a midnight toast, live music and confetti.
About 10,000 people were expected in a town known as the Little Apple for a ball-drop event modeled after the one in New York's Times Square. The celebration in Manhattan was to culminate with the lowering of a ball from atop a bookstore.
A New Year's Eve Fireworks Spectacular was expected to draw more than 30,000 people to a downtown park. The show was choreographed with a musical score.
Streets in the city's downtown theater district closed to traffic as the city threw a New Year's Eve bash with fireworks and entertainment.
Revelers planned to ring in 2016 with music, fireworks and the raising of an illuminated ball during Opening Night 2016 in downtown Oklahoma City. Magical acts and ice sculpture demonstrations also were being presented at different venues in Oklahoma's largest city.
Corbet reported from Paris. Gelineau reported from Sydney. Gambrell reported from Dubai.