Apollo, through the Pythia, commanded him to serve king Eurystheus for twelve years and complete the ten tasks the king would give him.
ɐpˈɑːloʊ, θɹuː ðə pˈaɪθiə, kəmˈændᵻd hˌɪm tə sˈɜːv kˈɪŋ juːɹˈɪsθɪəs fɔːɹ twˈɛlv jˈɪɹz ænd kəmplˈiːt ðə tˈɛn tˈæsks ðə kˈɪŋ wʊd ɡˈɪv hˌɪm.