Top 10 LGBT-friendly organizations as ranked by Stonewall in 2016

Brookstone's Spy Cufflinks

Britain's security service has been named the most lesbian, gay, bi and trans (LBGT)-friendly employer in the country, according to a charity.

The U.K.'s state counter-intelligence agency MI5 jumped from seventh to first place in the Stonewall charity's Top 100 Employers list for 2016, followed closely behind by Lloyds Banking Group, and trumping Nottingham's public health care provider which took the crown in 2015.

A record 400 organizations vied for rankings through submissions to Stonewall's Workplace Equality Index this year, the benchmark used to rank employers in its annual survey, where they're ranked on their employment policies, career development opportunities, training and community engagement.

A Stonewall representative told CNBC that MI5 pulled ahead in the rankings thanks in part to having a senior member of staff that champions LGBT equality on its executive board.

"In six years it (MI5) has moved from outside the Top 100 to number one, and this is because of the ongoing commitment it has made to empowering its LGBT staff and supporting them in being themselves," the representative said.

MI5's Director-General Andrew Parker, meanwhile, explained that it was essential to bring a wide variety of people into the security service, which is responsible for tackling national security threats including cyber attacks, terrorism and espionage.

"Diversity is vital for MI5, not just because it's right that we represent the communities we serve, but because we rely on the skills of the most talented people whoever they are, and wherever they may be," Parker said in a press release.

Here is a list of the top 10 LGBT-friendly organizations as ranked by Stonewall in 2016:

RankingEmployerSector
1 MI5 Defence & Security
2 Lloyds Banking Group Banking & Finance
3 National Assembly for Wales Government
4 B3Living Housing
5 (tied) Pinset Masons Legal
5 (tied) Tower Hamlets Homes Housing
7 Leicestershire County Council Government
8 Metropolitan Housing
9 Clifford Chance Legal
10 Royal Navy Defence & Security

"Those organizations that are 'getting it right' are not only improving the lives of lesbian, gay, bi and trans staff, stakeholders, clients and customers, but are also reaping business benefits," Ruth Hunt, Stonewall's Chief Executive, said in a press release.

"We know that people perform better when they can be themselves, and it's been proven that diversity among staff leads to a more productive, positive and creative workplace environment," Hunt said.

JefferiesAnd the Best Place to Work in the global financial markets 2016 is...

Register for Financial Markets News Alerts