From 1868-1945 Kimigayo was the national anthem of the Japanese Empire proclaiming the rule of the Emperor for a 10,000 years.
Following WWII, although the Emperor was retained as a figurehead, Japan became a parliamentary democracy and the anthem (now proclaiming a 10,000 year reign for Japan) was retained.
Interesting that the song is about rocks. I like that.