text: After his wife 's death , Jagiello ruled both Poland and Lithuania for nearly half a century , establishing a dynasty that would remain in power until 1572 .
  
  ###
  
  Poland and Lithuania were ruled by Jagiello for decades .