It flows northward, where it forms a section of the Angola/DRC border, then for most of its length runs through the Bandundu Province to its confluence into the Kwango River at an elevation of 1023 feet .