Ulugh Beg
Eight years after he came into power in 1409, their son, Ulugh Beg, founded an institute in Samarkand which soon became a prominent university. Students from all over the Middle East, and beyond, flocked to this academy in the capital city of Ulugh Beg's empire. Consequently, Ulugh Beg gathered many great mathematicians and scientists of the Middle East. In 1414, al-Kashi took this opportunity to contribute vast amounts of knowledge to his people. His best work was done in the court of Ulugh Beg.