How did Lanting Xu (Preface to the Poems Composed at the Orchid Pavilion) come into being?

Let's trace its origin back to Shaoxing, where calligrapher Wang Xizhi (303-361) created some of the best-known calligraphic works in Chinese history.