 In the years 1781-84, while engaged in literary work, Sailer attracted the attention of the elector and Bishop Clement Wenceslaus.In 1784 the latter called Sailer to Dillingen as professor of pastoral theology and ethics.Sailer held this position for ten years, earning a high reputation.