Hercules was tasked with retrieving the golden apples from the garden of the Hesperides, which were guarded by a dragon and nymphs. He captured the sea god Nereus to learn the garden's location. Along the way, he defeated the challenger Antaeus. When he arrived, Atlas agreed to retrieve the apples if Hercules took the sky off his shoulders for a time. However, when Atlas returned, Hercules tricked him into taking the sky back while he made his escape with the golden apples.