Afghanistan's shifting alliances and factions are intertwined with its diversity, though ethnic, linguistic, or tribal variation alone does not entirely explain these internecine struggles. Afghanistan in its modern form was shaped by the nineteenth-century competition between the British, Russian, and Persian empires for supremacy in the region. The 1907 Anglo-Russian Convention that formally ended this "Great Game" finalized Afghanistan's role as a buffer between the Russian Empire's holdings in Central Asia, and the British Empire's holdings in India.