The Grand Hunt on the planet Pijal, situated in the Inner Rim, was attacked in 40 BBY. Before this event, the Pijali Princess Fanry instructed Cady, her enslaved attendant, to alter the programming of one of the hunt's [prey](/article/prey], specifically a crab droid, with the goal of assassinating the princess. Fanry secretly desired that this incident would frighten Rael Averross, her regent, causing him to delay the signing of the forthcoming Governance Treaty.
As planned, the droid carried out its programming during the hunt, targeting Fanry with its weapons until the Jedi Obi-Wan Kenobi and Qui-Gon Jinn intervened and destroyed it. Subsequently, an inquiry began to determine the cause of the droid's sabotage. The two Jedi were unsuccessful in gathering sufficient proof to identify the individual who had reprogrammed the droid.
The incident involving the attack on the Grand Hunt is depicted in Master & Apprentice, a novel from 2019 authored by Claudia Gray.