on 23 april 1745 medley was promoted to be vice-admiral, and sent out as commander-in-chief of the mediterranean fleet. the service was one of blockade and co-operation with the allied armies in the war of the austrian succession, who in the winter of 1746–7 invaded provence; but, after an unsuccessful attack on antibes, they were obliged to retreat.