<prompt> Translate the following text to SwahiliAfter his wifes death, Jagiello ruled both Poland and Lithuania for nearly half a century, establishing a dynasty that would remain in power until 1572.  <response>: Baada ya kifo cha mke wake, Jagiellon alitawala Poland na Lithuania kwa karibu nusu karne, na kuanzisha nasaba ambayo ingebaki madarakani hadi 1572. 