This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)(Learn how and when to remove this template message)
Dmitriy Yurievich Shemyaka (Дмитрий Юрьевич Шемяка in Russian) (died 1453) was the second son of Yury of Zvenigorod by Anastasia of Smolensk and grandson of Dmitri Donskoi. His hereditary patrimony was the rich Northern town Galich-Mersky. Shemyaka (1445, 1446–1447) was twice Grand Prince of Moscow.
The causes of the Muscovite Civil War waged in the second quarter of the 15th century are still disputed. No small part, however, was played by Dmitri Donskoi's will, which ran contrary to Rurikid dynastic custom whereby the throne would pass from an elder brother to a younger one (agnatic seniority), rather than from father to son (primogeniture). The testament provided for the accession of his son, Vasily I, which was still in keeping with the tradition of lateral succession since Vasily was the eldest of his generation.
In the event of Vasily having no surviving son at his death, his brother, Dmitry's second son, Yury of Zvenigorod, was to succeed as grand prince in Moscow. Upon Vasily I's death, however, Yury refused to come to Moscow and swear allegiance to his nephew, Vasily II, and claimed the throne himself in accordance with his right under the long-held custom of lateral inheritance. (He further claimed it was provided for in Dmitry's testament – but this ignored the provision that voided Yury's succession in the event of Vasily I producing a son). Yury's son, Dmitry Shemyaka, actively participated in all of his father's incursions against Moscow, culminating in Yury's capture of Moscow and accession as grand prince in 1433. Yury of Zvenigorod died in Moscow in 1434.
After Yury's death, Shemyaka continued to press his branch's claim to the grand princely throne, and was seldom at peace with Vasily II. Initially, Dmitry and his younger brother Dmitry Krasnyi concluded an alliance with Vasily against their elder brother Vasily Kosoy, who had proclaimed himself grand prince. They succeeded in driving Kosoy from Moscow and were rewarded with the towns of Uglich and Rzhev. The following year Shemyaka came to Moscow in order to invite Vasily II to his impending wedding with a princess of Yaroslavl, but was accused of siding with Kosoy and taken prisoner. Released several months later, he was sent by Vasily II to defend Belyov against a small army of the Kazan Khan Olug Moxammat but was defeated. Thereupon he refused to support Vasily in his hostilities against the khan, and only the mediation of a Trinity hegumen could forestall a new civil war between the cousins.
The two men maintained an uneasy peace for much of the next decade until 1445, when Vasily II was taken prisoner by Olug Moxammat after the Muscovite forces were surprised by the Tatar prince outside Suzdal, Shemyaka seized Moscow, had the recently released Vasily blinded and proclaimed himself the Grand Prince of Vladimir. He could claim this by right of lateral inheritance since his father had sat on the throne. (A prince was excluded from the succession (izgoi) if his father had not sat on the throne before him.) Shemyaka's lack of support among the Muscovite boyars forced him, however, to leave the city for Lake Chukhloma, but he continued to press his claim to the grand princely throne.
Despite several peace treaties, Shemyaka continued to plot against his cousin. He suffered a series of defeats in 1450 and 1452 which forced him to seek refuge in Novgorod. There, on July 17, 1453, he was poisoned while eating a dinner of chicken in the Gorodishche, the princely compound south of the Market side of the city, his cook having been bribed by Muscovite agents. Delighted at the news, Vasily II ennobled a herald who had first brought him the message of Shemyaka's death. Nikolai Karamzin famously wrote in his history that the grand prince showed "indecent joy" at the news of his rival's untimely demise.
According to chronicle sources, Shemyaka was buried in the Church of St. George in the Yuriev Monastery south of Novgorod,  however, twentieth-century archaeological excavations of the necropolis of the Cathedral of Holy Wisdom in the Novgorod Kremlin suggest that the prince was actually buried there and his grave has been misidentified since at least 1616 as that of Prince Fedor Yaroslavich (died 1233).
Shemyaka's male line died out by 1561, but there are many living descendants from his daughter's marriage to Prince Alexander Chertoryzhsky.
Shemyaka's name survives in the Russian expression "Shemyakin sud" ("Shemyaka's Justice", "Shemyaka's Judgement"), which means hasty and unfair judgement. It comes from the 17th century literary work The Tale of Shemyaka's Judgement (see its translation here). However modern researchers question the identification of Dmitry Shemyaka with Judge Shemyaka in the tale.
- Valentin Yanin, "Posmertnaia Sudba Dmitriia Shemiaki," in Srednevekovyi Novgorod (Moscow: Nauka, 2004), 342.
- Yanin, "Posmertnaia Sudba Dmitriia Shemiaki," 342.
- Yanin, Nekropol' Novgorodskogo Sofiiskogo sobora: tserkovnaia traditsiia i istoricheskaia kritika (Moscow: Nauka, 1988), 89-113; Idem, "Posmertnaia Sudba Dmitriia Shemiaki", 337-346.
- "The Judgment of Shemyaka"
| Grand Prince of Moscow