 King Matthias ' all attempts to secure his son 's succession to the throne proved to be useless shortly after his death . The prelates and the barons elected Vladislaus II Jagiellon king on 15 July 1490 . He retained his domains and the Duchy of Troppau . The new monarch bestowed the title of Duke of Slavonia upon him , but he renounced of it in 1495 . He also renounced of the Duchy of Troppau in 1501 . 
