 The Hungarian army was defeated in 1526 at the Battle of Mohács, where the young Louis II Jagiellon, son of Vladislas II, was killed.Subsequently, after a period of internal strife and external intervention, Hungary was partitioned between the Habsburgs and the Ottomans.The 1526 death of Janusz III of Masovia, the last of the Masovian Piast dukes line (a remnant of the fragmentation period divisions), enabled Sigismund I to finalize the incorporation of Masovia into the Polish Crown in 1529.