The Stanford Dean recommended that San Francisco city attorney George Lull hire Dooling, who then worked at the city attorney's office into the 1920s. In 1921, he successfully represented the city before the Supreme Court of the United States in a case concerning the city's power to remove an unpermitted house built in the 1906 fire zone. After leaving the city attorney, he began a private practice.