ɪn wˈʌn θˈaʊzənd ˈeɪthˈʌndɹɪd fˈɪfti θɹˈiː, kwˈɑːɹlz wʌz ᵻlˈɛktᵻd tə ðə tˈɛnθ dʒuːdˈɪʃəl sˈɜːkɪt, ænd hiː sˈɜːvd ʌntˈɪl wˈʌn θˈaʊzənd ˈeɪthˈʌndɹɪd fˈɪfti nˈaɪn wɛn hiː ɹɪzˈaɪnd, hˌævɪŋ bˌɪn ᵻlˈɛktᵻd tə ðə jˈuː.ˈɛs. θˈɜːɾisˈɪksθ kˈɑːŋɡɹəs æz ɐ mˈɛmbɚɹ ʌvðɪ ˌɑːpəzˈɪʃən pˈɑːɹɾi.
In 1853, Quarles was elected to the tenth judicial circuit, and he served until 1859 when he resigned, having been elected to the U.S. Thirty-sixth Congress as a member of the Opposition Party.