With the death of Balthasar Oomkens von Esens in 1540, the Attena line of East Frisian chieftains ruling Esens, Stedesdorf, and Wittmund died out and the Harlingerland fell to the Counts of Rietberg, who were related to the Attenas. From 1540, Harlingerland was ruled by Count John II of Rietberg, the son of Balthasar's sister. After his death, the Harlingerland went to his second daughter, Walburgis. In 1581, she married Count Enno III of East Frisia. They had two daughters, who, by the Treaty of Berum, waived their right to inherit Harlingerland, in favour of Enno's son Rudolf Christian, from his first marriage.