Soon after he enlisted into the Yugoslav Army, and after that he went to be educated in Libya at the Islamic University of Libya where he studied Islam and Arabic. He returned to Yugoslavia in 1975 and was appointed as imam of Zagreb. In 1988 he became chief mufti of the Islamic Communities in Croatia and Slovenia.