Ancient Baghdad

Why was Baghdad during industrial era in history