 At length, an agreement was reached, negotiated primarily between their mothers, Berengaria and Teresa, and signed at Benavente on 11 December 1230, by which Ferdinand received the Kingdom of León, in return for a substantial compensation in cash and lands for his half-sisters, Sancha and Dulce.Ferdinand thus became the first sovereign of both kingdoms since the death of Alfonso VII in 1157.Early in his reign, Ferdinand had to deal with a rebellion of the House of Lara.