Just east of Dumbutu (Gambia) the boundary veers south in a straight line, then turns at a right angle to the west, proceeding via a straight line before reaching the San Pedro river; the boundary then follows this river out to the Atlantic Ocean.