In the Mesozoic period before the continental drift opened the South Atlantic Ocean, the Congo was the upper part of a river about 12,000 km (7,500 miles) long that flowed west across the parts of Gondwanaland, now called Africa and South America.