ˈæftɚ hɪz ɹᵻtˈaɪɚmənt fɹʌmðɪ ˈɑːɹmi ɪn pɚɹˈuː, hiː wɛnt bˈæk tə ðɪ ˈɑːɹdʒəntˌaɪn ɹᵻpˈʌblɪk, wˌɛɹ lˌɑːs hˈiəɹəz wʌz ɐpˈɔɪntᵻd ɡˈʌvɚnɚɹ ʌv bwˈeɪnɑːs ˈaɪɹɪz baɪ ðə tʃˈeɪmbɚɹ ʌv ɹˌɛpɹᵻzˈɛntətˌɪvz, səksˈiːdɪŋ dʒˈɛnɚɹəl mˈɑːɹtɪn ɹədɹˈiːɡɛz ɪn mˈeɪ, wˈʌn θˈaʊzənd ˈeɪthˈʌndɹɪd twˈɛnti fˈoːɹ.
After his retirement from the Army in Peru, he went back to the Argentine Republic, where Las Heras was appointed governor of Buenos Aires by the Chamber of Representatives, succeeding General Martín Rodríguez in May, 1824.