 Gian Galeazzo, who succeeded his father in 1378, saw the impending marriage as a threatan alliance which would enhance his uncle's position in the family at the expense of his own.In the spring of 1385, Bernabò was deposed and taken prisoner by his nephew.The marriage contract between LouisII and Lucia Visconti was cancelled and upon Bernabò's death in December 1385, Gian Galeazzo became the sole ruler of Milan, giving him the authority to determine whom Lucia Visconti was to wed.