Definition: 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).
Input: Context: The Gediminids (, , ) were a dynasty of monarchs in the Grand Duchy of Lithuania that reigned from the 14th to the 16th century. One branch of this dynasty, known as the Jagiellons, reigned also in the Kingdom of Poland, Kingdom of Hungary and Kingdom of Bohemia. Several other branches ranked among the leading aristocratic dynasties of Russia and Poland into recent times., The Battle of the Vorskla River was a great battle in the medieval history of Eastern Europe. It was fought on August 12, 1399, between the Tatars, under Edigu and Temur Qutlugh, and the armies of Tokhtamysh and Grand Duke Vytautas of Lithuania. The battle ended in a decisive Tatar victory., Maria of Vitebsk (died before 1349) was the first wife of Algirdas, future Grand Duke of Lithuania (marriage took place around 1318). Very little is known about her life. The only child of a Russian prince Yaroslav, Maria was the only heir to the Principality of Vitebsk. After her father's death ca. 1345, Vitebsk fell permanently under control of Algirdas and other Gediminids. Maria gave birth to five sons, all of whom grew up while Algirdas was still only a regional duke in Slavic lands of the Grand Duchy of Lithuania. All five sons were baptized in Orthodox rite and ruled Russian lands giving rise to prominent clans of Russian dukes (Trubetskoy family from Demetrius I Starshy, Czartoryski family from Constantine, Sanguszko family from Fiodor, Belsky and Olelkovich families from Valdimir). After Maria's death, Algirdas married another Russian princess, Uliana of Tver. After Algirdas' death, eldest sons of Maria and Uliana battled over succession rights., Tokhtamysh (tat. Tuqtam) or Tokhtamsh (died 1406) was the prominent khan of the Blue Horde, who briefly unified the White Horde and Blue Horde subdivisions of the Golden Horde into a single state. He was a descendant of Genghis Khan's grandson, Tuqa-Timur., Andrei of Polotsk ( Belarusian :   , Lithuanian : Andrius Algirdaitis Polish : Andrzej Olgierdowic , ca . 1325 -- 12 August 1399 , in the Battle of the Vorskla River ) was the eldest son of Algirdas , Grand Duke of Lithuania , and his first wife Maria of Vitebsk . He was Duke of Pskov ( through his deputy Yuri , 1342 -- 1348 ) and Polotsk ( 1342 -- 1387 ) . As the eldest son of the Grand Duke , Andrei claimed his right to the throne after his father 's death in 1377 . Algirdas left Jogaila , his eldest son with his second wife Uliana of Tver , as the rightful heir . Andrei 's rivalry with Jogaila , Grand Duke of Lithuania and later King of Poland , eventually led to his demise ., Subject: andrei of polotsk, Relation: noble_family, Options: (A) gediminids (B) grandson
Output:
gediminids