Complex sentence: In order to obtain the money, Zeki applied for the vacant position of a deceased janitor, however due to a misunderstanding, was given the position of a teacher.
Split into simpler sentences: In order to obtain the money, Zeki applies for the vacant position of a deceased janitor. However, due to a misunderstanding, he is given the position of a teacher.