Japanese leaders had always envisioned a negotiated settlement to the war. Their prewar planning expected a rapid expansion and consolidation, an eventual conflict with the United States, and finally a settlement in which they would be able to retain at least some new territory they had conquered. By 1945, Japan's leaders were in agreement that the war was going badly, but they disagreed over the best means to negotiate its end. There were two camps: the so-called "peace" camp favored a diplomatic initiative to persuade Joseph Stalin, the leader of the Soviet Union, to mediate a settlement between the Allies and Japan; and the hardliners who favored fighting one last "decisive" battle that would inflict so many casualties on the Allies that they would be willing to offer more lenient terms. Both approaches were based on Japan's experience in the Russo–Japanese War, forty years earlier, which consisted of a series of costly but largely indecisive battles, followed by the decisive naval Battle of Tsushima.