The border starts in the north at the tripoint with Algeria, proceeding south in a straight of 146 km (90 m), then turning west following the 26th parallel north for 334 km (207 m), then turning south along the 12th meridian west for 176 km (283 m).