In the year 9 BBY, Cal Kestis, a Jedi Knight, and Merrin, a Nightsister, embarked on a quest to Pilgrim's Sanctuary located on the moon of Jedha. Their objective was to rescue Armias, a Narkis Anchorite. Jedi Masters Cere Junda and Eno Cordova, leaders within the Hidden Path—a clandestine organization dedicated to smuggling Jedi and Force-sensitives—dispatched them. The mission aimed to prevent the contact codes held by Armias from falling into the hands of the Galactic Empire forces, who were actively excavating Pilgrim's Sanctuary. Junda and Cordova feared that the Empire obtaining these codes would compromise the entire Hidden Path network. Departing from The Archive, Kestis and Merrin journeyed to the Sanctuary on a spamel, encountering Imperial forces during their trek. Upon observing additional Imperial troops arriving, they decided to separate. Merrin took on the role of delaying the Empire, while Kestis stealthily infiltrated the Sanctuary. Reuniting later, they jointly defeated a DT-series sentry droid, after which Kestis ventured into the Singing Ruins. There, he experienced a vision of a past discussion with Junda, which bolstered his resolve to overcome Jedha's strong winds.
Subsequently, Kestis and Merrin observed a massive Trident-class assault ship commencing a drilling operation into the Sanctuary. Merrin once more diverted the Empire's attention, allowing Kestis to advance further. Upon finally gaining entry to the temple, Kestis initiated his search for Armias. Through his psychometry abilities, he eventually learned that Armias had sacrificed himself to ensure the escape of others and prevent the Empire from pursuing them. Kestis then located Armias, who entrusted him with the contact codes just before being fatally crushed by the massive assault ship. As the ceiling began to collapse, Merrin arrived and assisted Kestis in using the Force to support the falling debris. She then presented him with a magick charm, which enabled him to bypass certain laser gates.
Determined to ensure that Armias's sacrifice was not in vain, Kestis and Merrin committed to returning the codes to Junda. After reaching a point where they could go no further, Merrin and Kestis shared a kiss, after which Merrin started creating portals to aid Kestis in navigating the rapidly collapsing temple. They then combined their Force abilities to direct pieces of the ship's drilling arm into its mouth-like drill, resulting in its complete destruction. Utilizing a final portal, Kestis and Merrin escaped from the imminent danger. They then traversed the Jedha terrain and successfully delivered the codes back to Junda's base.