Complex sentence: At the end of 11th century shamkhals make Islam a state religion in Kumukh, which afterwards becomes the primary stronghold of Islam in Lakia.
Split into simpler sentences: At the end of 11th century shamkhals make Islam a state religion in Kumukh. Subsequently Kumukh becomes the primary stronghold of Islam in Lakia.