it was the largest settlement at that time in mesopotamia , situated on a branch of the mighty euphrates river , with the finest buildings , and constructed by a civilisation that exhibited the earliest evidence of writing .