Once the deluge was over and the couple were on land again, Deucalion consulted an oracle of Themis about how to repopulate the earth. He was told to throw the bones of his mother behind his shoulder. Deucalion and Pyrrha understood the "mother" to be Gaia, the mother of all living things, and the "bones" to be rocks. They threw the rocks behind their shoulders and the stones formed people. Pyrrha's became women; Deucalion's became men.