In his later years, George Michael was never one to be shy when it came to speaking out about his sexuality. But it was not until one very public moment that one of the most famous pop stars in the world was outed as gay.

In April 1998, George Michael was caught engaging in a sexual act by an undercover police officer in a public toilet in Beverly Hills.

He was handed a £500 fine and 80 hours of community service for the incident, but his real punishment came from the press and public reaction, spurred on by headlines such as The Sun’s infamous “Zip Me Up Before You Go Go” front page.

Georgie Michael dies aged 53

Following the incident, he went public with his sexuality and his relationship with US businessman, Kenny Goss, to CNN.

He later admitted: “I had my very first relationship at 27 because I really had not actually come to terms with my sexuality until I was 24. I lost my partner to HIV then it took about three years to grieve; then after that I lost my mother. I felt almost like I was cursed.”

Michael made no qualms about admitting how hiding his sexuality for so many years had taken a serious toll on his mental health.

By the age of 19, the Wham! front-man had admitted to his sisters and close friends as well as his bandmate Andrew Ridgeley that he was bisexual, but was advised not to come out to his parents.

It was not until he was interviewed several years after his Beverly Hills arrest in 2007 that Michael said he had made the decision not to come out so as not to upset his mother, or have her worry about Aids.

Speaking on BBC Radio 4’s Desert Island Discs, he said that hiding his sexuality had made him feel “fraudulent”, and that being caught soliciting sex in 1998 was a subconsciously deliberate act.

“What people have to acknowledge ... is that there's a level of honesty that's natural to me [and] that I'm uncomfortable with anything else,” he told programme present Kirsty Young.

“So firstly, understand how much I love my family and that Aids was the predominant feature of being gay in the 1980s and early 90s as far as any parent was concerned. My mother was still alive and every single day would have been a nightmare for her thinking what I might have been subjected to.

Christmas 2016 around the world: in pictures Show all 14 1 /14 Christmas 2016 around the world: in pictures Christmas 2016 around the world: in pictures A member of the Iraqi security forces holds a lit candle at Christmas Mass in a church won back from Isis on the outskirts of Mosul REUTERS/Ammar Awad Christmas 2016 around the world: in pictures German tourists Mimi Wiebeling (L) and Pauline Lapetite carry surfboards as they walk into the surf wearing Christmas hats at Sydney's Bondi Beach on Christmas Day in Australia, December 25, 2016. David Gray Christmas 2016 around the world: in pictures A soldier dressed as Santa Claus waves from a military helicopter during a football match to commemorate the Christmas Truce of 1914 at the ISAF Headquarters, in Kabul, Afghanistan Omar Sobhani Christmas 2016 around the world: in pictures A crane of the Hanjin Scarlet container ship pulls up donated food, supplies and gifts as volunteers deliver them to the stranded crew aboard the ship. Several maritime groups and members of Victoria's Filipino community gathered up more than a ton of Christmas provisions for the 16-member crew of the container ship Darryl Dyck Christmas 2016 around the world: in pictures Chimpanzees examine their gifts at the Lion Country Safari in Loxahatchee, USA Allen Eyestone/Palm Beach Post via AP Christmas 2016 around the world: in pictures A Palestinian protester dressed as Santa Claus runs to avoid tear gas during clashes with Israeli border police officers, in the West Bank city of Bethlehem Nasser Nasser Christmas 2016 around the world: in pictures A Christian gives final touches to a mural of Santa Claus in preparation for Christmas celebrations in Karachi, Pakistan Shakil Adil Christmas 2016 around the world: in pictures People gather by a Christmas tree near damaged buildings during Christmas eve in al-Hamidiyah neighbourhood in the old city of Homs, Syria December 24, 2016 Omar Sanadiki Christmas 2016 around the world: in pictures Divers dressed as Santa's Elves swim with a Manta Ray in an aquarium on Friday, Dec. 23, 2016, at the South East Asia Aquarium of Resorts World Sentosa, a popular tourist attraction in Singapore Wong Maye-E Christmas 2016 around the world: in pictures An Indian street vendor sells Santa hats and masks ahead of Christmas in Ahmadabad, India Ajit Solanki Christmas 2016 around the world: in pictures A boy skis along a street near Montreal, Canda Graham Hughes Christmas 2016 around the world: in pictures A girl holds a costume received during a toy distribution program with Miguel Pizarro, deputy of the Venezuelan coalition of opposition parties (MUD), at the slum of Petare in Caracas, Venezuela December 20, 2016 A girl holds a costume received during a toy distribution program with Miguel Pizarro, deputy of the Venezuelan coalition of opposition parties (MUD), at the slum of Petare in Caracas, Venezuela December 20, 2016 Christmas 2016 around the world: in pictures Sri Lanka has unveiled a towering Christmas tree, claiming to have surpassed the world record for the tallest artificial Christmas tree AP Photo/Eranga Jayawardena Christmas 2016 around the world: in pictures The sunrise over Bingham, Nottinghamshire, as severe weather warnings remain in place for Christmas Neil Squires

“I'd been out to a lot of people since 19. I wish to God it had happened then. I don't think I would have the same career – my ego might not have been satisfied in some areas – but I think I would have been a happier man.”

The singer suffered from severe depression after his partner Anselmo Feleppa died in 1993 from an Aids-related illness, and his mother Lesley died a few years later.

“I struggled with huge depression after my mother died,” he told The Independent some years later. “Losing your mother and your lover in the space of three years is a tough one.”

In a 2005 interview with The Guardian, Michael opened up about the “12 years of depression and fear and lots of other s***” that followed.

“In terms of coming close to saying I don’t want to live, that would have been after my mum died,” he said.

“I had this overwhelming feeling that the best was behind me. I so loved my mum, and respected her. I swear to God, it was like I had a curse on me. I couldn’t believe how much God was piling on at once.

“There was so much death around me, I can’t tell you.”

Despite personal and psychological struggles, Michael became almost as well known for his outspoken views in support of gay rights as he was for his best-selling music, using his 1998 arrest as a platform from which to highlight and make light of common prejudices within society.

The video for “Outside”, the first song released by Michael after his Beverly Hills arrest, is a particularly strong work of satire – the singer poses as a Los Angeles police officer performing a dance in a public toilet styled out as a disco.

At the climax of the video, two male officers arrest numerous couples previously shown engaging in “lewd acts”.

The music video, ends with the two officers sharing a passionate embrace – seen through the lens of surveillance camera.

Michael referred to the Beverly Hills incident with the lyric: “I'd service the community, but I already have, you see” and samples of radio reports of his arrest were used within the song.

In the same year, Michael fronted a documentary about HIV to coincide with World Aids Day.

The film, Staying Alive, focused on the experiences of six young people from different countries who were either infected with or affected by the HIV virus.

He was also a passionate supporter of HIV charity the Terrence Higgins Trust.

LGBT charity Stonewall tweeted their sadness at the news of his death, writing: “R.I.P. George Michael. You inspired many and your music will live on in the hearts of the community. You will be sorely missed.”