A man accused of opening fire Friday at two mosques in Christchurch, New Zealand, killing dozens of worshippers, appears to have been motivated by white supremacy and extremism that he saw in the United States.

During a news conference, Australian Prime Minister Scott Morrison characterized the alleged shooter as an “extremist, right-wing, violent terrorist.” Four suspects were taken into custody Friday in connection with the attack. The alleged gunman was later charged with murder.

The suspect, whose identity has not been confirmed, appears to have publicly posted a 74-page manifesto to Twitter and the online forum 8chan in which he declared his hatred for Muslim immigrants in Europe and idolized U.S. extremist movements. He also appears to have live-streamed part of the horrific attack in a now-deleted video on Facebook.

HuffPost has chosen not to provide a link to either piece of media. The author at times wrote in an over-the-top, possibly sarcastic voice, making specific passages difficult to discern, but an obsession with white supremacist ideas persists throughout the manifesto. He also repeatedly stated that he intended to use the media to give a platform to his views.

In the rambling manifesto, he claimed that he donated to white supremacist groups and said he idolized American mass shooters. He also recited the “14 words,” a popular white supremacist slogan that has been repeated by other North American white supremacists, such as Faith Goldy: “We must secure the existence of our people and a future for white children.”