In the first half of his reign, Emperor Xuanzong had been a brilliant and gifted leader, a patron of artists and writers, and was credited with bringing Tang China to the pinnacle of its power and achievements. But after a glorious reign of forty-two years, at nearly seventy years old, his powers were fading, and he was finally brought down by his weakness for women.