However, it did not change the course of the war by itself. It was the combined effects of the battles of the Coral Sea and Midway that reduced Japan's ability to do major attacks. In addition Midway helped make US landings on Guadalcanal possible. The prolonged attrition warfare (a type of battle in which each side tries to wear down the other side) of the Solomon Islands campaign allowed the Allies to take an offensive stance for the rest of the Pacific War. Finally, Midway bought the United States time until the first of the new Essex-class fleet carriers became available at the end of 1942.