Duncan takes oath of office