 To strengthen his ties with Austria, he married his maternal first cousin Catherine of Austria, younger sister of Charles V and his erstwhile fiancée Eleanor, in the town of Crato.John III had nine children from that marriage, but most of them died young.By the time of John's death, only his grandson Sebastian was alive to inherit the crown.