He was still serving in those positions at the time of the death of New Spain Viceroy Antonio María de Bucareli y Ursúa in Mexico City.
hiː wʌz stˈɪl sˈɜːvɪŋ ɪn ðoʊz pəzˈɪʃənz æt ðə tˈaɪm ʌvðə dˈɛθ ʌv nˈuː spˈeɪn vˈaɪsɹɔɪ æntˈoʊnɪˌoʊ mˈæɹiə də bjˈuːkɛɹli wˈaɪ ˈɜːsuːə ɪn mˈɛksɪkˌoʊ sˈɪɾi.