 Marshall remained on that court until 1965, when President Lyndon B. Johnson appointed him to be the United States Solicitor General, the first African American to hold the office.At the time, this made him the highest-ranking black government official in American history, surpassing Robert C. Weaver, Johnson's first secretary of housing and urban development.As Solicitor General, he won 14 out of the 19 cases that he argued for the government and called it "the best job I've ever had."