During the Yuan dynasty, the Mongol emperors liked Tibetan Buddhism so they hired Tibetan monks as government officials. This caused corruption. Later the Ming dynasty overthrew the Yuan, and Tibetan lamas no longer influenced the court.