Question: how tulsidas wrote hanuman chalisa?
Answer: Tulsidas composed the Hanuman Chalisa when he was in prison at Fatepur Sikri, which was Akbar's fortress at the time. During those forty days when he was composing the verses, he prayed to Hanuman to save him from this predicament. At the end of the forty days, the whole of the emperor's fort was swarming with monkeys.