Prince William is making history this week by becoming the first royal to appear on the cover of a gay publication.

The Duke flashes a big smile for the leading British gay magazine Attitude, in which he condemns the bullying of the LGBTQ community.

RELATED: Kate Middleton, Prince William Sign Book Of Condolences For Orlando Shooting Victims

The photoshoot took place on May 12, 2016, after His Royal Highness invited the magazine and members of the LGBTQ community to Kensington Palace for a discussion on “homophobic, bi-phobic and transphobic bullying.”

Making history: Prince William appears on the cover of Attitude https://t.co/82ykiKEjgh pic.twitter.com/BbiYLbA1nf — Attitude (@AttitudeMag) June 15, 2016

“No one should be bullied for their sexuality or any other reason and no one should have to put up with the kind of hate that these young people have endured in their lives,” the future King of England said in a statement. “The young gay, lesbian and transgender individuals I met through Attitude are truly brave to speak out and to give hope to people who are going through terrible bullying right now. Their sense of strength and optimism should give us all encouragement to stand up to bullying wherever we see it,” The cover comes only days after the Orlando massacre, where members of the LGBTQ community were targeted and killed in a nightclub shooting spree.

RELATED: Adorable Princess Charlotte Makes Her Buckingham Palace Balcony Debut: See The Pics!

The Duke and Duchess of Cambridge visited the U.S. Embassy in London on Tuesday to sign a book of condolences in honour of the victims of the terror attack. Tuesday also saw actor Andrew Garfield join thousands on the streets of London’s Soho neighbourhood to show their support for the victims.

Attitude is the largest online lifestyle magazine aimed at the gay community in the UK.

When speaking of their upcoming issue earlier this week, Managing Director, Mike Buckley, alluded to the Prince William news, saying, “we will have some exciting announcements to share soon.”

Attitude‘s newest edition featuring Prince William is set to be released Wednesday, June 15.