You will be given a definition of a task first, then some input of the task.
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 Turco-Mongol or Turko-Mongol tradition was a cultural synthesis that arose during the early 14th century, among the ruling elites of Mongol Empire successor states such as the Chagatai Khanate and Golden Horde. These elites adopted Turkic languages and different religions such as Buddhism and Islam, while retaining Mongol political and legal institutions. Many later Central Asian states drew heavily on this tradition, including the Timurid Empire, the Kazakh Khanate, the Khanate of Kazan, the Nogai Khanate, the Crimean Khanate, and the Mughal Empire., Ali Gauhar ( 25 June 1728 -- 19 November 1806 ) , historically known as Shah Alam II , was the eighteenth Mughal Emperor and the son of Alamgir II. Shah Alam II became the emperor of a crumbling Mughal Empire ; his power was so depleted during his reign that it led to a saying in the Persian language , Sultanat - e - Shah Alam , Az Dilli ta Palam , meaning , ' The kingdom of Shah Alam is from Delhi to Palam ' , Palam being a suburb of Delhi . Shah Alam faced many invasions mainly by the Emir of Afghanistan , Ahmed Shah Abdali , which led to the Third Battle of Panipat between the Maratha Empire , which maintained suzerainty over Mughal affairs in Delhi and the Afghans led by Abdali . In 1760 , the invading forces of Abdali were driven away by the Marathas , led by Sadashivrao Bhau , who deposed Shah Jahan III , the puppet Mughal emperor of Feroze Jung III , and installed Shah Alam II as the rightful emperor under the Maratha suzerainty . Shah Alam II was considered the only and rightful emperor but he was n't able to return to Delhi until 1772 , under the protection of the Maratha general Mahadaji Shinde . He is known to have fought against the British East India Company during the Battle of Buxar . Shah Alam II also authored his own Diwan of poems and was known by the pen - name Aftab . His poems were guided , compiled and collected by Mirza Fakhir Makin ., The Mughal Empire or Mogul Empire, self-designated as Gurkani ("Grkniyn", meaning "son-in-law"), was an empire in the Indian subcontinent, established and ruled by a Muslim dynasty of Chagatai Turco-Mongol origin from Central Asia. The dynasty, though ethnically Turco-Mongol, was Persianate in terms of culture., Subject: shah alam ii, Relation: noble_family, Options: (A) mughal empire (B) timurid empire
Output:
timurid empire