Complex sentence: The area is home to a large Talysh population, mostly of whom are Shi'a Muslim, which spreads to both sides of the border along the western shore of the Caspian.
Split into simpler sentences: The area is home to a large Talysh population, mostly of whom are Shi'a Muslim. They live on both sides of the border along the western shore of the Caspian.