Emperor Xuanzong of Tang
The celebration as a festival only started to gain popularity during the early Tang dynasty (618–907 CE). One legend explains that Emperor Xuanzong of Tang started to hold formal celebrations in his palace after having explored the Moon-Palace.