Conversation so far:
When did Kenesaw Mountain Landis become a judge?
As an acting Federal Judge from 1905-1922.
What position did Kenesaw Mountain Landis hold when he became a judge in 1905?
He was the judge of the United States District Court for the Northern District of Illinois.
Where was Kenesaw Mountain Landis a judge?
Landis's courtroom, room 627 was in the Chicago Federal Building.
Did Kenesaw Mountain Landis work in baseball?
Landis was selected in 1920 to become the first Commissioner of Major League Baseball.

Question: What did he do during these years?
Self-contained rewrite: What did Kenesaw Mountain Landis do during these years?