Original sentence: The origins of the college and university lie in the medieval Islamic world.While "madrasah" can now refer to any type of school, the term "madrasah" was originally used to refer more specifically to a medieval Islamic college, mainly teaching Islamic law and theology, usually affiliated with a mosque, and funded by an early charitable trust known as Waqf, the origins of the trust law
Edited sentence: The origins of the college lie in the medieval Islamic world.While "madrasah" can now refer to any type of school, the term "madrasah" was originally used to refer more specifically to a medieval Islamic college, mainly teaching Islamic law and theology, usually affiliated with a mosque, and funded by an early charitable trust known as Waqf