The construction of the mausoleum itself began in 1403 after the sudden death of Muhammad Sultan, Tamerlane's heir apparent and his beloved grandson, for whom it was intended. Timur had built himself a smaller tomb in Shahrisabz near his Ak-Saray palace. However, when Timur died in 1405 on campaign on his military expedition to China, the passes to Shahrisabz were snowed in, so he was buried here instead. Ulugh Beg, another grandson of Tamerlane, completed the work. During his reign the mausoleum became the family crypt of the Timurid Dynasty.