In contrast to the Andes, which rose to elevations of nearly 7000 meters in a relatively recent epoch and inverted the Amazon's direction of flow from westward to eastward, Brazil's geological formation is very old.