At the beginning of September 1854, almost six months after Commodore Perry had concluded his convention with Japan, Sir James Stirling, Commander-in-Chief of the British East Indies fleet, took his squadron into Nagasaki harbour to negotiate with the Japanese officials there. Unlike Perry, his primary object was not to obtain a treaty of commerce and friendship. War between Britain and Russia had broken out in March, and it was his duty to hunt down, if possible to destroy, Admiral Poutiatin's squadron then in Pacific waters. This task, he realized, would be made much easier if he could use Japanese ports for obtaining stores and refitting on the terms usually allowed a belligerent by a neutral state, and if this meant that Russia could use those ports on similar terms, he was confident that he could deny her access to them by his own greater strength at sea. In fact, whatever secret hopes he may have had as to the ultimate effect of his discussions on Anglo-Japanese relations, Stirling went to Nagasaki principally to settle a point of practical importance to his conduct of naval operations. He wished to know in what light the Japanese government would view the use'of its ports by the belligerents, and was ready to suggest, perhaps insist on, a policy favourable to Great Britain.Despite this limited objective, there followed an exchange of letters, some weeks of waiting, and a number of discussions with the Nagasaki Bugyoo (the Governor of Nagasaki), as a result of which Stirling obtained a convention similar in many respects to that of Perry, though somewhat more restricted in its provisions.