 Both "Andrea Doria" and "Caio Duilio" went into drydock in the late 1930s for extensive modernizations; this work lasted until October and April 1940, respectively.By that time, Italy had entered World War II on the side of the Axis powers.The two ships joined the 5th Division based at Taranto.