Baku had a reputation as a focal point for traders from all across the world during the Early modern period,; commerce was active and the area prospered. Notably, traders from the Indian subcontinent established themselves in the region. These Indian traders built the Ateshgah of Baku during 17th–18th centuries; the temple was used as a Hindu, Sikh, and Zoroastrian place of worship.