Complex sentence: Initially the term referred primarily to lesbians and gays, bisexuals and transgender people.
Split into simpler sentences: Initially the term referred primarily to lesbians and gays. It has come to include bisexuals and transgender people.