On 8 April 1408 Anna gave birth to a daughter, Hedwig. It was not a male heir desired by Jogaila or Polish nobles, but it still strengthened Anna's position and she became a little more visible in politics. In February 1410, during the Polish–Lithuanian–Teutonic War, Anna was present when Jogaila met with Herman II. After the Battle of Grunwald, Jogaila wrote two letters – one to Anna and another to Bishop Wojciech Jastrzębiec. In February 1412, Anna and Jogaila hosted the wedding of Ernest, Duke of Austria, and Cymburgis of Masovia. After the wedding, Anna and Jogaila traveled to Hungary for negotiations between Jogaila and Sigismund von Luxembourg. Anna met with Barbara of Cilli, Sigismund's wife and daughter of Herman II – the girls grew up together. However, Anna did not participate in the negotiations in Buda between April and August 1412.