Question: When did the cousin of the Grand Duke of Lithuania die?

<P0-S0> Mikhailo Aleksandrovich Olelkovich (executed on August 30, 1481 in Vilnius) was a noble from the Olelkovich family of the Grand Duchy of Lithuania. <P0-S1>  He was the brother of Prince Simeon Olelkovich of Kiev and cousin of Grand Prince Ivan III of Moscow. <P0-S2>  Mikhailo was allegedly involved both in bringing the Judaizer Heresy to Novgorod and the failed defection of the city to the Grand Duchy of Lithuania in 1471. <P0-S3>  He also organized a coup against Casimir IV Jagiellon, King of Poland and Grand Duke of Lithuania, but was discovered and executed in 1481. <P0-S4>  Mikhailo's son Semen continued the family line. <SEP> <P1-S0>  At issue was control of the Grand Duchy of Lithuania, then the largest state in Europe. <P1-S1>  Jogaila had been crowned King of Poland in 1386; he installed his brother Skirgaila as ruler of Lithuania. <P1-S2>  Skirgaila proved unpopular and Vytautas attempted to depose him. <P1-S3>  When his first attempt to take the capital city of Vilnius failed, Vytautas forged an alliance with the Teutonic Knights, their common enemy – just as both cousins had done during the Lithuanian Civil War between 1381 and 1384. <P1-S4> The Lithuanian Civil War of 1389–92 was the second civil conflict between Jogaila, King of Poland and Grand Duke of Lithuania, and his cousin Vytautas. <P1-S5>  Vytautas and the Knights unsuccessfully besieged Vilnius in 1390. <P1-S6>  Over the next two years it became clear that neither side could achieve a quick victory, and Jogaila proposed a compromise: Vytautas would become Grand Duke and Jogaila would remain Superior Duke. <P1-S7>  This proposal was formalized in the Ostrów Agreement of 1392, and Vytautas turned against the Knights. <P1-S8>  He went on to reign as Grand Duke of Lithuania for 38 years, and the cousins remained at peace. <SEP> <P2-S0> The Ostrów or Astrava Agreement (Lithuanian: "Astravos sutartis" , Belarusian: Востраўскае пагадненне , Polish: "Ugoda w Ostrowie" ) was a treaty between Jogaila (Władysław II Jagiełło), King of Poland and Grand Duke of Lithuania, and his cousin Vytautas the Great, signed on 4 August 1392. <P2-S1>  The treaty ended the destructive Lithuanian Civil War, launched in 1389 by Vytautas who hoped to gain political power, and concluded the power struggle between the two cousins that erupted in 1380 after Jogaila secretly signed the Treaty of Dovydiškės with the Teutonic Knights. <P2-S2>  The Ostrów Agreement did not stop attacks from the Teutonic Knights and the territorial dispute over Samogitia continued up to 1422. <P2-S3>  According to the treaty, Vytautas became the ruler of Lithuania (styled Grand Duke), but he also acknowledged Jogaila's (styled Supreme Duke) rights to Lithuania. <P2-S4>  The details of the Polish–Lithuanian relationship were clarified in several later treaties, including the Union of Vilnius and Radom in 1401 and Union of Horodło in 1413. <SEP> <P3-S0> Vytautas (c. 1350 – October 27, 1430), also known as Vytautas the Great (Lithuanian: "   ", Belarusian: "Вітаўт Кейстутавіч (Vitaŭt Kiejstutavič)" , Polish: "Witold Kiejstutowicz" , Rusyn: "Vitovt", Latin: "Alexander Vitoldus") from the 15th century onwards, was a ruler of the Grand Duchy of Lithuania, which chiefly encompassed the Lithuanians and Ruthenians. <P3-S1>  He was also the Prince of Hrodna (1370–1382), Prince of Lutsk (1387~1389), and the postulated king of the Hussites.