for years a professor of european political development at the university of vienna , he had been plucked from academia and recruited into the diplomatic corps , due mainly to his numerous papers detailing the history of international relations during the nineteenth and twentieth centuries .