In the Song dynasty, tea cakes were ground to powder and whisked with hot water in the bowl, and contests called
斗茶 judged the foam. The method went to Japan with Zen monks and lives on in
抹茶, while in China loose-leaf tea (
散茶) replaced it from the Ming dynasty on.