How did the Mamluk help establish the Delhi Sultanate?

A Mamluk took over when Muhammad Ghuri died.
The Mamluks set up a system of Islamic-Hindu law.
The Mamluks maintained order for easier control.
A Mamluk leader forced everyone to worship Allah.