here let it be said that in those days the heir of isildur arose in the north , and he took the shards of the sword of elendil , and in imladris they were reforged ; and he went then to war , a great captain of men .