After a long time, Izanagi disobeyed Izanami and followed her. He eventually found her slowly dying and decaying. She felt ashamed of Izanagi's lack of propriety in seeing her like this, and so took revenge.
Izanagi was pursued through the land of Yomi by the Eight Ugly Females of Yomi, sent by his wife, Izanami.
Izanagi eventually managed to escape the land of Yomi by blocking the path with a boulder. He then divorced himself from Izanami.
Izanami said she would cause the death of 1000 people every day out of revenge. In response, Izanagi said he would create birthing houses so that 1000 people were born each day. Thus, the balance between life and death was created.
Izanagi cleansed himself of the land of Yomi in the river, and in doing so, created three very important kami: The Kami of Earth, The Kami of the Sky and the Kami of the Ocean and Moon.
Izanagi's time on earth was completed. In some versions, he lives on earth as a hermit. In others, he ascends to heaven and lives in a palace of the sun.