After which war was the constitution written?