The social media posts by a suspect in the STEM School Highlands Ranch shooting in Colorado included opposition to "Christians who hate gays," criticism of President Trump, and support for the left-wing Occupy Democrats.

Devon Erickson (Joe Amon/The Denver Post via AP, Pool)

On his now-deleted Facebook account, Devon Erickson, 18, posted: "You know what I hate? All these Christians who hate gays, yet in the bible, it says in Deuteronomy 17:12-13, if someone doesn’t do what their priest tells them to do, they are supposed to die. It has plenty of crazy stuff like that. But all they get out of it is ‘ewwwwww gays.'"

The other suspect in the shooting, which left one dead and seven wounded, has been identified as in court documents as Maya McKinney, a 16-year-old female who identifies as a transgender male and prefers to be called Alec.

[Read more: Transgender suspect asks court to use pronoun ‘he’ in Colorado school shooting case]

Erickson appeared in court with long, busy hair, half of which was dyed purple. The judges ordered that no images of McKinney could be used by the media.

In 2016, Erickson shared a video of late-night host Seth Meyers criticizing President Donald Trump prior to the 2016 election, and had shared an Occupy Democrats post that praised President Barack Obama.

In a post on his Instagram, Erickson posted, "I’m covered in ink and addicted to pain."

Far Left Youth, a group on Twitter using the handle @MarxFolks, tweeted that "one of our admins knew him personally" and that the shooter "had no love for socialism. What was done was evil and totally out of line with any leftist values."

To be clear, the #stemshooter wasn't a leftist. One of our admins new him personally and knew that he had no love for socialism. What was done was evil and totally out of line with any leftist values. — Far Left Youth (@MarxFolks) May 8, 2019

Denver 7 reported that because the suspects were under age they stole two handguns from one of their parents. Kendrick Castillo, 18, was killed after charging one of the shooters during the attack. Eight other students were wounded.

Brendan Bialy, a senior who enlisted into the Marine Corps Delayed Entry Program, also charged the shooter and has been credited with stopping the attack.