Who was Poland's ancient ally?