However in 1682 the difficulty caused by George William's having a family and heirs of his own was bridged over by the marriage of his daughter with his nephew George Louis ( who later became King George I of Great Britain ) son of George William's younger brother Duke Ernest Augustus who became elector in 1692 .