A Norwegian man who allegedly shot inside of al-Noor mosque in Oslo and committed a murder inside a home nearby had expressed far right-wing views online, police said Sunday.

The police said that the suspect, a "young, white man" named Phillip Manshaus, had revered Vidkun Quisling, Norway's leader during the Nazi era. Authorities are investigating the attack as an act of terrorism.

Only one person inside of the mosque had been injured, while a woman related to the gunman was found dead inside a home near where the attack was carried out.

The shooter was prevented from killing more people as he was overpowered by 65-year-old Mohamed Rafiq. The gunman supposedly had two-shotgun type weapons and a pistol and broke through the glass door of the mosque while wearing body armor.

Manshaus is currently unwilling to answer police questions.

The attack was carried out as Muslims around the world celebrate Eid al-Adha, which celebrates the willingness of the prophet Ibrahim (Abraham) in Islam to sacrifice his son Ismail to God.

Manshaus had written posts online on the site Endchan that said he was inspired by recent far-right attacks in El Paso, Texas and Christchurch.

Twenty-two people were killed and 24 injured during a shooting on Aug. 3 in El Paso, Texas, with the shooter espousing white nationalist ideas on the online forum 8chan, which has since been shut down.

Earlier this year, more than 50 people were killed in Christchurch, New Zealand, during two mosque shootings, with the gunman suspected of harboring far-right views.

One of the most prominent far-right attacks in Norway was committed by Anders Brevik, who opened fire at a summer camp in 2011, killing 69 people. The summer camp was for young left-wing social democrats in Norway. He also had detonated a fertilizer bomb near the office of the Norwegian prime minister, killing eight. He was sentenced to 21 years in prison.

Manshaus posted a photo of Brevik on Instagram.

Right-wing extremist terrorism is on the rise in Europe. In May, German authorities said that the number of far-right extremists has increased by 50% over the last two years. Some analysts have said that far-right groups are copying the deadly tactics of jihadist organizations.