Original: He worked briefly as a court shoemaker until, on August 24, 1906, police expelled him from Berlin as undesirable, based solely on the fact that he was a former prisoner.
Simplified: He worked briefly as a court shoemaker until, on August 24, 1906, police expelled him from Berlin as an "undesirable" (someone who is not wanted).