Board Thread:Naruto Discussions/@comment-28414362-20150812151040/@comment-28414362-20150812152635

No, Hagoromo created moon before he died. It was like this: 1) Brothers fought against Ten-Tails, sealed it into Hagoromo. 2) Before his death, Hagoromo divided it's chakra into nine beasts and remaining vessel (Demonic Statue) sealed into moon with Chibaku Tensei.