A newlywed couple pose for photographs at the Sultan Omar Ali Saifuddien mosque in Bandar Seri Begawan, on April 1, 2019.
A newlywed couple pose for photographs at the Sultan Omar Ali Saifuddien mosque in Bandar Seri Begawan, on April 1, 2019.
PHOTO: -/AFP/AFP/Getty Images
Now playing
02:56
George Clooney and UN protest Brunei's anti-gay law
New Year
New Year's Eve fireworks erupt over the Chao Phraya river during the fireworks show in Bangkok on January 1, 2021. (Photo by Mladen ANTONOV / AFP) (Photo by MLADEN ANTONOV/AFP via Getty Images)
PHOTO: Mladen Antonov/AFP/Getty Images
Now playing
01:36
The world finally says goodbye to 2020
Bystanders and a soldier stand near a damaged portion of the airport of Yemen
Bystanders and a soldier stand near a damaged portion of the airport of Yemen's southern city of Aden's after an explosion, Wednesday, Dec. 30, 2020. The blast struck the airport building shortly after a plane carrying the newly formed Cabinet landed on Wednesday. No one on the government plane was hurt. (AP Photo/Majid Saleh)
PHOTO: Majid Saleh/AP
Now playing
02:27
See moment of deadly explosion at Yemen airport
Pope Francis arrives to lead a Mass on the feast day of Our Lady of Guadalupe in St. Peter
Pope Francis arrives to lead a Mass on the feast day of Our Lady of Guadalupe in St. Peter's Basilica, at the Vatican on December 12, 2020. (Photo by REMO CASILLI / POOL / AFP) (Photo by REMO CASILLI/POOL/AFP via Getty Images)
PHOTO: REMO CASILLI/AFP via Getty Images
Now playing
02:07
Pope Francis to miss New Year's masses with sciatica
hong kong china beijing nathan law national security law Watson pkg intl ldn vpx_00010708.png
hong kong china beijing nathan law national security law Watson pkg intl ldn vpx_00010708.png
Now playing
03:40
How 2020 saw Hong Kong change forever
It
It's been a tumultuous year for British Prime Minister Boris Johnson. He was slow to implement a coronavirus lockdown in the UK, slow on PPE and slow on contact tracing. Meanwhile he struck a last-minute Brexit deal with the EU, Scotland's drive for independence is gaining momentum, and Johnson's personal life is adding more drama. CNN's Nic Robertson looks back at it all.
PHOTO: CNN
Now playing
03:30
A look back at Boris Johnson's tumultuous 2020
Pro-choice activists celebrate after the Senate approved a bill to legalize abortion outside the Congress in Buenos Aires on December 30, 2020. (Photo by EMILIANO LASALVIA / AFP) (Photo by EMILIANO LASALVIA/AFP via Getty Images)
Pro-choice activists celebrate after the Senate approved a bill to legalize abortion outside the Congress in Buenos Aires on December 30, 2020. (Photo by EMILIANO LASALVIA / AFP) (Photo by EMILIANO LASALVIA/AFP via Getty Images)
PHOTO: Emiliano Lasalvia/AFP/Getty Images
Now playing
01:45
Watch Argentinians react to the new bill legalizing abortion
FILE - In this undated file photo issued by the University of Oxford, a volunteer is administered the coronavirus vaccine developed by AstraZeneca and Oxford University, in Oxford, England. Britain has authorized use of a second COVID-19 vaccine, becoming the first country to greenlight an easy-to-handle shot that its developers hope will become the "vaccine for the world." The United Kingdom government says the Medicines and Healthcare Products Regulatory Agency has made an emergency authorization for the vaccine developed by Oxford University and UK-based drugmaker AstraZeneca.  (John Cairns/University of Oxford via AP, File)
FILE - In this undated file photo issued by the University of Oxford, a volunteer is administered the coronavirus vaccine developed by AstraZeneca and Oxford University, in Oxford, England. Britain has authorized use of a second COVID-19 vaccine, becoming the first country to greenlight an easy-to-handle shot that its developers hope will become the "vaccine for the world." The United Kingdom government says the Medicines and Healthcare Products Regulatory Agency has made an emergency authorization for the vaccine developed by Oxford University and UK-based drugmaker AstraZeneca. (John Cairns/University of Oxford via AP, File)
PHOTO: John Cairns/University of Oxford/AP
Now playing
02:08
CNN correspondent: Here's why the Oxford/AstraZeneca vaccine is exciting
lebanon 2020 beirut blast coronavirus pandemic protests economy Wedeman pkg intl ldn vpx_00002320.png
lebanon 2020 beirut blast coronavirus pandemic protests economy Wedeman pkg intl ldn vpx_00002320.png
Now playing
03:07
2020 has been particularly hard for Lebanon. Here's what happened
ancient snack bar
ancient snack bar
PHOTO: Parco Archeologico di Pompeii/Luigi Spina
Now playing
01:04
Ancient 'snack bar' unearthed in Pompeii
Petrinja, Croatia, on December 29.
Petrinja, Croatia, on December 29.
PHOTO: Tena Šarčević/Jutarnji list
Now playing
01:12
Footage shows aftermath of powerful earthquake in Croatia
Police attempt to stop journalists from recording footage outside the Shanghai Pudong New District People
Police attempt to stop journalists from recording footage outside the Shanghai Pudong New District People's Court, where Chinese citizen journalist Zhang Zhan - who reported on Wuhan's Covid-19 outbreak and placed under detention since May - is set for trial in Shanghai on December 28, 2020. (Photo by Leo RAMIREZ / AFP) (Photo by LEO RAMIREZ/AFP via Getty Images)
PHOTO: LEO RAMIREZ/AFP/AFP via Getty Images
Now playing
02:41
Chinese journalist who covered Wuhan Covid-19 outbreak jailed
PHOTO: CNN
Now playing
02:39
Blackwater attack survivor to Trump: You will have to face God
PHOTO: Clarence House
Now playing
01:10
Royals and celebrities read Christmas Eve poem
A man wearing an EU flag-themed beret and carrying an EU flag is seen on Whitehall in central London on December 11, 2020. - Prime Minister Boris Johnson on December 10 vowed to go the "extra mile" for a Brexit trade deal but instructed his government to prepare for Britain to crash out of the European Union
A man wearing an EU flag-themed beret and carrying an EU flag is seen on Whitehall in central London on December 11, 2020. - Prime Minister Boris Johnson on December 10 vowed to go the "extra mile" for a Brexit trade deal but instructed his government to prepare for Britain to crash out of the European Union's single market at the end of this year. (Photo by Hollie Adams/AFP/Getty Images)
PHOTO: Hollie Adams/AFP/Getty Images
Now playing
05:57
Look back at how Brexit unfolded
Boris Johnson announces a Brexit deal has been agreed with the European Union
Boris Johnson announces a Brexit deal has been agreed with the European Union
PHOTO: UK Pool
Now playing
01:45
Boris Johnson: We have completed the biggest trade deal yet
(CNN) —  

Brunei will not impose the death penalty on those convicted of having gay sex, in an apparent bid to temper international condemnation following its roll out of strict new Islamic laws last month.

In a televised speech on Sunday, the country’s ruler, Sultan Hassanal Bolkiah, said he would extend a moratorium on capital punishment and ratify the United Nations Convention Against Torture.

The announcement follows a global backlash to the country’s announcement in April that it would impose draconian new punishments, including death by stoning, for those convicted of gay sex, adultery and rape.

In a high profile campaign, celebrities, including George Clooney and Elton John, joined rights groups in seeking to boycott hotels owned by the sultan, while large companies including JPMorgan and Deutsche Bank told their staff to avoid using Brunei-owned hotels in the wake of new laws.

The tiny oil-rich Asian kingdom became the first East Asian country to introduce Sharia law at a national level in 2014, introducing the legislation and associated penalties in stages.

The country initially defended its new legal code, claiming it focused “more on prevention and punishment,” but the growing backlash appears to have forced the kingdom’s hand.

In his speech on Sunday, the sultan said there had been a number of “misconceptions” about the laws which he acknowledged may have caused “apprehension.”

“However, we believe that once these have been cleared, the merit of the law will be evident,” he said.

The sultan announced the kingdom’s long-term moratorium on the death penalty would also extend to the new penal code, although he didn’t elaborate whether this was a new decision.

“For more than two decades, we have practiced a de facto moratorium on the execution of death penalty for cases under the common law. This will also be applied to cases under the Syariah Penal Code Order (SPCO),” the sultan said.

Despite his announcement on the death penalty, Brunei’s leader said Sunday he stood by his new penal code overall.

“Both the common law and the Syariah law aim to ensure peace and harmony of the country. They are also crucial in protecting the morality and decency of the public as well as respecting the privacy of individuals,” he said.

LGBT citizens still face punishment

There was widespread relief among LGBT and human rights activists in the wake of the announcement. Celebrations though have so far been muted, amid concerns that the laws themselves remain in place.

Human Rights Campaign Director of Global Partnership Jean Freedberg said the moratorium was an important step but added the new Islamic penal code itself needed to go.

“The world has turned its eyes to Brunei in recent months and we urge the countless advocates, activists and organizations who seized this moment to speak out against these human rights abuses to continue to do so,” she said.

A gay man living inside Brunei, who asked not to be named, said while the sultan’s announcement was “good news,” it did nothing to address widespread homophobia and discrimination in the kingdom.

“If they don’t do anything to show that they are supporting the LGBT community, nothing will change. Religion still has a major effect towards homophobia,” he said.

Even if they weren’t put to death, LGBT citizens of Brunei could still face fines, whipping or jail, said Matthew Woolfe, founder of human rights groups The Brunei Project.

The law is still hanging over the heads of Brunei’s LGBT community, Woolfe said. “There is nothing stopping the Brunei Government from lifting the moratorium at any time.”

CNN’s Chermaine Lee contributed to this article.