Odysseus wound up ashore on Ogygia where Calypso detained him to stay for seven years going to great lengths to stop him from leaving. She kept him from returning to his home of Ithaca, wanting to marry him. Athena complained about Calypso's actions to Zeus, who sent the messenger Hermes to Ogygia to order Calypso to release Odysseus. Hermes is Odysseus's great grandfather on his mother's side, through Autolycos. Calypso finally, though reluctantly, instructed Odysseus to build a small raft, gave him food and wine, and let him depart the island.