Allaudin Khilji built the Hauz khas fort in the 14th century.