A Norwegian woman at the centre of a Dubai rape claim dispute says that officials have dropped her 16-month sentence for having sex outside marriage and she is free to leave the country.

‘‘I am very, very happy,’’ Marte Deborah Dalelv told The Associated Press. ‘‘I am overjoyed.’’

The sentence against the 24-year-old Dalelv last week stirred widespread outrage in the West and highlighted the frequent clash between Dubai’s Western-friendly image and its Islamic-based legal codes.

Dalelv claimed she was raped in March by a co-worker, but she was charged with having sex outside marriage after going to the police. Her decision to go public about the sentence last week in a series of interviews appeared to put pressure on authorities in Dubai and tarnish the city’s reputation as a cosmopolitan hub.