Question: What was the position for which James M. Hanley was appointed ?
Answer: United States representative
Answer sentence: james m. hanley was appointed a united states representative.