Frederick was followed as Elector by his son Frederick II , and when Frederick II died in 1464 his sons Ernest and Albert took over . Frederick I was succeeded by his son , Frederick II . After the death of Frederick II in 1464 , his oldest son , Ernest , became elector , and Ernest and Duke Albert , the younger son , shared governance of the Wettin lands .