The pipeline was the subject of months of protests during its construction near the Standing Rock Sioux Reservation.