Sophia of Halshany (1405–September 21, 1461), also known as Sonka, was a princess of the Lithuanian Alšėniškiai family and Queen of Poland as the 4th wife of Władysław II Jagiełło. Raised in a Ruthenian-speaking Orthodox environment, she was described in a 1436 document as being of Ruthenian origin. She was baptized into the Roman Catholic rite in February 1422 and married Jagiełło at Navahrudak that month. Her coronation as queen followed on March 5, 1424, after resistance from Polish nobles.
Sophia became politically important as the mother of 2 future kings. Her son Władysław III was born in 1424, followed by Casimir IV in 1427; an earlier son, also named Casimir, died in infancy. She and Jagiełło worked to secure their sons’ succession, negotiating with Polish nobles who maintained that the crown was elective. In 1427, accusations of infidelity prompted a court inquiry, but Sophia swore to her innocence and the case was dismissed.
After Jagiełło’s death in 1434, Sophia sought influence during Władysław III’s minority, though authority rested with the royal council. She supported political initiatives in Moldavia and efforts involving the Hussites, and later escorted Władysław to Hungary when he became its king. After Władysław died at the Battle of Varna in 1444, she helped persuade Casimir to accept the Polish crown. Crowned in 1447, Casimir allowed his mother to participate in the royal council, and she accompanied him on travels, although her influence declined after his marriage in 1454.
Sophia supported the creation of a Polish translation of the Bible between 1453 and 1461. The unfinished work, known as the Bible of Queen Sophia, became an important monument of the Polish language. She died in Kraków on September 21, 1461, and was buried in the Holy Trinity Chapel of Wawel Cathedral, which she had helped fund and decorate. In 2006, a memorial stone bearing her bronze likeness was unveiled in Halshany.