The doctrinal claim that miri and piri belong together traces to a specific and fairly well documented set of events in Guru Hargobind's own life, showing the doctrine emerging from concrete political pressure rather than abstract theological reasoning.
Guru Hargobind became Guru in 1606 at the age of eleven, immediately after the Mughal emperor Jahangir had his father, Guru Arjan, tortured and executed at Lahore, reportedly for supporting a rebel prince and for the growing wealth and following of the Sikh community, though the precise motives remain debated. Hargobind's adoption of two swords and his fortification of Amritsar, including the construction of the Akal Takht facing the Harmandir Sahib, followed directly from this trauma and from a judgment that the community required organized capacity for self-defense that his father's more purely devotional leadership had not provided.
Hargobind was later imprisoned by Jahangir at the fort of Gwalior, on grounds that remain unclear, and Sikh tradition holds that upon his release he refused to leave unless a number of other imprisoned Hindu princes, traditionally numbered at fifty-two, were released with him, securing their freedom by having them each hold onto the hem of a specially made cloak with enough tassels for all to exit together, an episode still commemorated annually as Bandi Chhor Divas. Hargobind subsequently fought several military engagements against Mughal forces over the following decades, engagements Sikh tradition presents as defensive responses to continued state hostility, establishing, well before the doctrine received its later theological elaboration, the pattern of an armed community prepared to defend itself.