The Pear Garden or Liyuan was the first known royal acting and musical academy in China. Founded during the Tang dynasty by Emperor Xuanzong (712–755), it is an example of an early institutional academy of music.
The Tang dynasty (618–907) is sometimes known as "The Age of 1000 Entertainments". Emperor Xuanzong (also known as Ming Huang) established schools in the palace city Chang'an (now Xi'an) for music, dancing, and acting. Three hundred musicians and performers were trained annually under the supervision of the emperor, who sometimes joined in the training as well as the performances. The Pear Garden, so named after the pear trees planted inside, was an acting school established to produce a form of drama that was primarily musical, although this suffered from the vicissitudes of the An Lushan Rebellion. Actors were commonly called "Children of the Pear Garden", and in later dynasties the phrase "Pear Garden" has been used to refer to the world of Chinese opera in general.