As Quraish threaten the Muslims in Madinah, the verse is revealed permitting those who have been wronged to fight back. Guards are posted by the Prophet’s house until the verse “Allah will protect you from mankind” is revealed.
As the book dates it: after the migration (exact date uncertain)