Complex sentence: The village Gali is famous for it first Jamia mosque of the area and its madrassa for boys and girls separately, which was named by its founder and first administrator Haji Mir Afzal as Jamia Hanfia Razvia.
Split into simpler sentences: The village Gali is known for having the first Jamia mosque of the area, having seperate madrassa for boys and girls. It was named by its founder and first administrator Haji Mir Afzal as Jamia Hanfia Razvia.