 In 893, Al-Fath ben Musa ben Dhi-l-Num, forced to withdraw from Toledo, made "Uqlish" (Uclés) his home and capital of the region.He had to fortify the town from attack, and built a new fortress in 896.In 1085, following the conquest of Toledo, Uqlīsh was occupied by Christians, who installed a garrison there.