before the rising of the sun earendil slew ancalagon the black , the mightiest of the dragon-host , and cast him from the sky ; and he fell upon the towers of thangorodrim , and they were broken in his ruin .