Dominating Old Delhi , the Lal Quila ( Red Fort ) was built by Shahjahan when he transferred the capital back to Delhi from Agra .
When Shahjahan made Delhi the capital again , he constructed the Lal Quila .