The British feared that Russian control of Central Asia would create an ideal springboard for an invasion of Britain's territories in the subcontinent (British India), and were especially concerned about Russia gaining a warm water port. They would fight the First and Second Anglo-Afghan Wars in an attempt to establish control over the region, and to counter the slowly creeping expansion of Russia. Losing badly both times, the British signed the 1907 Anglo-Russian Convention which divided Afghanistan between the two powers and outlined the framework for all future diplomatic relations.