In 1968, Ore determined the maximum size of k-connected graphs with given order and diameter. We give a new short proof.