Zongmi withdrew to Mount Chung-nan, southwest of Chang'an, in 816 and began his writing career, composing an annotated outline of the Sūtra of Perfect Enlightenment, and a compilation of passages from four commentaries on the sūtra.
He was summoned to the capital in 828 by Emperor Wenzong (r.