And which was named the worst.

Guess Which Government Agency Was Voted The Best For LGBT Employees

If you’re hoping to ring in 2017 with a new career, you might want to look to outer space: The Partnership for Public Service has named NASA as the best large-agency government job for LGBT employees.

The annual survey asked 407,789 federal workers about their job satisfaction, and NASA came out on top for the fifth year in a row with a score of 76.8.

Getty Images

In addition to LGBT employees, NASA scored high among people of color, those with disabilities, veterans and men and women in general.

The survey ranked agencies by size: Large (15,000 employees or more), mid-size (1,000-14,999 employees) and small (999 or less).

The Department of Transportation came in second on the large agency list, with a score of 69.0, followed by the Department of State (68.0) and Department of Justice (66.9).

Twitter

The Federal Trade Commission was ranked first on the list of mid-size agencies, with a score of 87.8—the survey’s highest score overall.

At the very bottom was the Transportation Security Administration (TSA), with a rating of just 35.5. With the number of complaints issued by trans travelers in regards to TSA agents, that’s not entirely surprising.

Getty Images

While the Obama administration worked to ensure government agencies are more LGBT-friendly, those improvements could be unraveled by our new president-elect.

Trump has consistently picked anti-LGBT cabinet members, so expect this list to be considerably different next year.

h/t: South Florida Gay News