China and Pakistan share a common border, formally established in 1963, and a close friendship which, to a certain extent, is a direct consequence of that agreement. Somewhat surprisingly the two countries managed to maintain - and even improve - their friendly ties in spite of several events which might have undermined the basis of their friendship. Particularly, since September 11, 2001.