In this task, you are given a context, a subject, a relation, and many options. Based on the context, from the options select the object entity that has the given relation with the subject. Answer with text (not indexes).

Context: The Naraka dynasty is a mythological dynasty of Assam in Northeast India that has been sourced to mentions in epics such as the "Ramayana", the "Mahabharata", the "Kalika Purana", the "Yogini Tantra" and local lore. There are no indications when they might have ruled, but they were probably true rulers whose accounts have been greatly exaggerated. At the very least, the local lore and the incorporation in various texts indicate they were powerful rulers from the past., The Kurukshetra War, also called the "Mahabharata War", is a war described in the Indian epic Mahabharata. The conflict arose from a dynastic succession struggle between two groups of cousins, the Kauravas and Pandavas, for the throne of Hastinapura in an Indian kingdom called Kuru. It involved a number of ancient kingdoms participating as allies of the rival groups., Bhagadatta was the son of Naraka , king of the Pragjyotisha Kingdom and second in line of kings of Naraka dynasty . He was succeeded by his son Vajradatta ., Pragjyotisha was an ancient Indian kingdom first mentioned in the Hindu epics and later Hindu literature. According to later versions of the epic, King Bhagadatta ruled the kingdom during the time of the Kurukshetra War where he met his death. In historical times, it came to be named as the Kamarupa Kingdom. Much of the mythical kingdom is culled from the 10th century Kalika Purana and the later Yogini Tantra. The kingdom roughly falls in modern-day Assam in India., The Mahabharata or Mahbhrata (US ; UK  "") is one of the two major Sanskrit epics of ancient India, the other being the "Ramayana"., The Ramayana ("") is an ancient Indian epic poem which narrates the struggle of the divine prince Rama to rescue his wife Sita from the demon king Ravana. Along with the "Mahabharata", it forms the Sanskrit "Itihasa"., Subject: bhagadatta, Relation: present_in_work, Options: (A) dynasty (B) mahabharata (C) ramayana
mahabharata