Band of the Welsh Guards marching at Pride in London, image courtesy: British Army.
The Royal Navy and Army have been judged two of the best employers in Britain for trans and non-binary staff.
A list of the top 750 organisations, drawn up by campaign group Stonewall, put the Royal Navy and Royal Marines at 32nd and the British Army at 84th.
More than 400 organisations took part in the Workplace Equality Index, which started in 2005, with some 60,000 staff surveyed about their employers' attitudes.
Both the Navy and Army improved on last year's results (the Navy were 82nd and the Army 99th) but it is three years since the Royal Air Force last featured in 2015.
The British Army recently revealed its latest recruitment campaign 'This is belonging 2018', which featured an animated advert asking "Can I be gay in the army?".
The campaign has been seen as an attempt to encourage people of all backgrounds, regardless of ethnicity, gender or sexual preference to join up.
For the first time this year, the charity marked employers specifically on trans inclusivity, in addition to firms' efforts on lesbian, gay and bi-inclusive policies.
Ruth Hunt, Stonewall's chief executive, said:
"At a time when LGBT people are subject to profound discrimination and abuse, both in and out of the workplace, our LGBT-inclusive employers are a welcome beacon of hope that a positive future is possible.
Last year the British Army pledged its support for the LGBT community by becoming involved in the Stonewall 'Come Out for LGBT' campaign.
The Army’s LGBT Champion, Lieutenant General Patrick Sanders CBE DSO features in the new campaign, wearing his Army uniform alongside a slogan reading “Come Out For LGBT”.