The conditions included frontier peace and no foreign involvement in civil wars.