Context: Seattle also has large lesbian, gay, bisexual, and transgender populations. According to a 2006 study by UCLA, 12.9% of city residents polled identified as gay, lesbian, or bisexual. This was the second-highest proportion of any major U.S. city, behind San Francisco Greater Seattle also ranked second among major U.S. metropolitan areas, with 6.5% of the population identifying as gay, lesbian, or bisexual. According to 2012 estimates from the United States Census Bureau, Seattle has the highest percentage of same-sex households in the United States, at 2.6 per cent, surpassing San Francisco.

Question: What city ranked higher in population in the gay community?

Answer: San Francisco