The Tanabata festival is thought to have started in China. It was transmitted to Japan during the feudal period and combined with traditional local customs to become an official event at the Imperial court. Commoners soon began observing this festival, with different localities developed their own distinctive ways of celebrating.