eventually , in 1958 , when cardinal angelo roncalli was elected pope , he assumed the name of john the twenty-third , putting an end to the five-century long tradition of pontiffs avoiding that name , because of balthasar cossa .