"Anson" covered her last convoy on 29 January 1943, before being relocated, with "Duke of York", to the Mediterranean. In June 1943, the two battleships took part in Operation Gearbox, which was designed to draw attention away from Operation Husky. At the same time, "King George V" and "Howe" were also relocated to the Mediterranean. They bombarded Trapani naval base on 12 July and defended Algiers against an air raid, before departing to take part in Operation Avalanche. Between 9 and 11 September they provided support for Operation Slapstick and later escorted the surrendered Italian fleet to Malta.