At the end, Konrad X could make a settlement with the Hungarian King, under which Konrad X recognized him as King of Bohemia and he was obliged to enter in the coalition of Olomouc. In 1488, he attempted to invalidate his alliance with King Matthias by joining in a coalition with Jan II the Mad, Duke of Głogów and Henry I the Older, but was defeated in 1489 by the Hungarian forces. Then he was forced to give up the to the royal treasure. After the death of King Matthias in 1490 he could recover the full government over Oleśnica, Syców and Wąsosz. Konrad X married with Dorothea Reynkenberg (d. 6 January 1471), daughter of Nikolaus (or Nikodemus) Reynkenberg, a coppersmith. According to the standards of the House of Piast, the marriage was considered morganatic, and Dorothea was forbidden to assume the titles and rank of her husband. They had no children. With him, the Oleśnica branch of the Piast dynasty became extinct. Half of Ścinawa was taken by Duke Casimir II of Cieszyn and Oleśnica was obtained by Henry I the Older.