The diplomat, Heshmatollah Attarzadeh, who was working as commercial attache in Iran's consulate in Peshawar, was freed 'in a complicated intelligence operation', Iranian state-run television said on Tuesday.