The dynasty of the Counts of Diez ended in 1386 with Gerhard VII. His daughter Jutta of Diez had married Adolf of Nassau (1362-1420) in 1376 and inherited the county. Their only daughter, Jutta of Nassau, married Godfrey of Eppstein and inherited half of the county while the other half came to Adolf's brother Engelbert I of Nassau. The latter's descendants, the counts of Nassau-Dillenburg, acquired further parts of the Eppstein share in 1530, parts that had come down to the Counts of Katzenelnbogen and, after they died out in 1479, to Landgraf Heinrich III of Hesse. From 1564 on, Diez castle was solely owned by Nassau-Dillenburg.