Although popular for a long period and sung in situations where people from other countries would usually sing their country's national anthem, Kimi Ga Yo was only considered as Japan's official national anthem in 1999. The law that stated this also defined the Flag of Japan in a similar way.