Complex sentence: The mosque rose to notoriety after Abu Hamza al-Masri became its imam in 1997, due to his extremist ideology and support for terrorism.
Split into simpler sentences: The mosque rose to notoriety after Abu Hamza al-Masri became its imam in 1997. Al-Masri was known due to his extremist ideology and support for terrorism.