Anna of Poland, Countess of Celje
This article does not cite any sources. (December 2009) (Learn how and when to remove this template message)
She was daughter of King Casimir III of Poland (1309–1370), who was succeeded, not by Anna nor any of Casimir's own descendants, but by Casimir's nephew, King Louis I of Hungary. Anna's mother was Casimir's fourth wife Hedwig of Sagan (d. 1390). Anna's elder half-sisters were already dead though one of them had left children. Anna was the eldest child of that fourth marriage, which did not either produce any sons to King Casimir's dismay.
In 1380 Anna was married to William, Count of Celje (1361–1392), a man chosen by Anna's first cousin, King Louis I, from among his vassals in Hungarian south. They had a single surviving child, a daughter known as Anna of Cilli (1386–1416). In 1394 the widowed Anna married Ulrich, Duke of Teck (died 1432).
Meanwhile, the throne of Poland had passed in 1386 to Jogaila, Grand Duke of Lithuania. When his first wife, Queen Hedwig (Anna's first cousin once removed) died in 1399 without surviving children, Jogaila sought a wife among the heirs to the kingdom of Poland, which had been Hedwig's inheritance. Duchess Anna desired to regain Poland for her heirs, the descendants of Casimir III, and to obtain power in her homeland. To achieve this, her young daughter Anna was married in 1401 or 1402 to the widowed king, then aged around 50. She gave birth to a daughter, Hedwig Jagiellon, in 1408.
The Duchess of Teck worked to advance her daughter's and granddaughter's position in Poland. When her daughter died in 1416, leaving no further surviving children (except Hedwig), Jogaila married Elisabeth of Pilica in 1417, and then Sophia of Halshany in 1422, both of whom did not descend from the Piast kings of Poland, as he had been unable to find any more brides with a hereditary right to the kingdom. The king's two sons and heirs were borne by his last wife, Sophia.
In 1421 Anna's granddaughter was betrothed to the future Frederick II, Elector of Brandenburg (1413–1471), the second son of Frederick I, Elector of Brandenburg. A party of Polish nobles, including Anna, wanted Hedwig and her intended husband to succeed Jogaila at least in Poland, instead of her half-brothers, his sons by Sophia.
Anna died in 1425, which left Hedwig without any strong relatives to support her position. Because Hedwig died (allegedly poisoned) in 1431 without any issue, Anna's descent became extinct before Jogaila's death in 1434.