Casimir IV was the son of Wladislaw II Jagiello . His wife Elisabeth Habsburg had claims to Bohemia and Hungary.