Send this page to someone via email

Alexandre Bissonnette, the man accused of killing six people and wounding 19 others at a mosque in Quebec City Sunday, had a reputation for expressing support for far-right and nationalist ideologies on social media, but did not come across as violent in his posts.

READ MORE: Alexandre Bissonnette charged with 6 counts of 1st degree murder

WATCH: Laval University representatives are reeling after finding out one of their students is the suspect in the Quebec City mosque shooting. Global’s Felicia Parrillo reports.

2:35 Laval University reacts to Quebec City mosque shooting Laval University reacts to Quebec City mosque shooting

The 27-year-old Laval University student, believed to be the sole suspect in the mosque attack, was charged with six counts of first-degree murder and five counts of attempted murder with a restricted weapon Monday. Though he was not previously known to police, Bissonnette had a reputation for being a so-called “troll” on social media, expressing support for French nationalist Marine Le Pen, whose party has been described by its critics as xenophobic due to its strong stance against mass immigration to France.

Story continues below advertisement

WATCH: Friend of Quebec City mosque attack victims remembers men as ‘peaceful people’

1:55 Friend of Quebec City mosque attack victims remembers men as ‘peaceful people’ Friend of Quebec City mosque attack victims remembers men as ‘peaceful people’

“He was someone who made frequent extreme comments in social media denigrating refugees and feminism. It wasn’t outright hate, rather part of this new nationalist conservative identity movement that is more intolerant than hateful,” François Deschamps, who runs a Facebook page aimed at supporting refugees in Quebec City, told The Globe and Mail.

WATCH: Quebec City mosque attack suspect faces 6 murder charges.

1:46 Quebec City mosque attack suspect faces 6 murder charges Quebec City mosque attack suspect faces 6 murder charges

WATCH: Student at Laval University says Quebec City mosque shooting suspect sent aggressive messages to feminists

Deschamps told The Globe and Mail he saw Bissonnette express anti-immigration views in his online posts, specifically commenting on the number of Muslim refugees making their way to Europe. He also described the suspect as a “troll,” speaking to Le Soleil.

Story continues below advertisement

“I wrote him off as a xenophobe. I didn’t even think of him as totally racist, but he was enthralled by a borderline racist nationalist movement,” Vincent Boissoneault, a fellow Laval University student, told the newspaper. Tweet This

WATCH: Five charges of attempted murder and six counts of first degree murder have been laid by the prosecutor against alleged Quebec City mosque shooter Alexandre Bissonnette.

2:05 11 charges laid against alleged mosque shooter Alexandre Bissonnette 11 charges laid against alleged mosque shooter Alexandre Bissonnette

READ MORE: Hate crimes spike in Montreal after Quebec City mosque shooting

Bissonnette was studying political science and anthropology at the University of Laval but had been expelled, a university official told Global News.

Former classmates cast him as a “nerdy outcast” who knew a lot about history, current events and politics.

On Facebook, Bisonnette “liked” a number of pages, including the official page for Marine Le Pen, Islam critic Richard Dawkins and Donald Trump. However, he also liked pages supporting the NDP and former leader Jack Layton.

Story continues below advertisement

His Facebook account was suspended Monday.

READ MORE: 2 victims remain in critical condition in deadly mosque attack

Bissonette was a member of the Cadet Program in the Quebec City area between 2002 and 2004, according to a statement released by Cadets Canada.

Police have not released a motive for the shooting but Prime Minister Justin Trudeau and officials in Quebec have called it an act of terrorism.

“We condemn this terrorist attack on Muslims in a centre of worship and refuge,” Trudeau said in an emotional speech in the House of Commons. “It is heart wrenching to see such senseless violence. Diversity is our strength, and religious tolerance is a value that we, as Canadians, hold dear.”

WATCH: MPs hold a moment of silence for victims of mosque attack

1:32 MPs hold a moment of silence for victims of mosque attack MPs hold a moment of silence for victims of mosque attack

Though Bissonette was outspoken online, those who knew him personally were shocked to learn he was accused of carrying out the attack.

Story continues below advertisement

“At that time, he didn’t seem like a violent person. Not at all,” classmate Jean-Michel Allard Prus told The Toronto Star.

Six people were killed and 19 other injured in the attack. The victims were identified as Mamadou Tanou Barry, Abdelkrim Hassane, Khaled Belkacemi, Aboubaker Thabti, Azzeddine Soufiane and Ibrahima Barry.

Five remain in hospital, two of them listed in critical condition. Doctors expect the two victims in critical condition will recover from their injuries.

— With files from Global News reporter Andrew Russell and Reuters