Which two European countries still had influence in the region