William J. Mazzocco, 89, who was an intelligence officer during World War II, senior staff officer on the Marshall Plan and a diplomat, died Aug. 4 after complications from cancer treatments at his home in Lake Oswego, Ore.

Mr. Mazzocco's 35-year career in government service spanned more than a dozen federal offices and four continents.

He moved to Oregon in 1996 after serving as a senior vice president of the International Security Council, a private consulting firm.

Born Uriele Mazzocco in Hamilton, Ontario, to immigrant parents from Castel di Sangro, Italy, Mr. Mazzocco changed his name to William James Mazzocco in high school. He graduated cum laude with a bachelor's degree in economics from the University of Portland in 1937. After college that year, he embarked on what would be the first of 10 trips around the world.

In a 1993 article for his alma mater, he recalled being introduced to the concept of moral economics and the text "Distributive Justice: The Right and Wrong of Our Present Distribution of Wealth" by John A. Ryan. "Before the University all I wanted was money, but once I went there everything changed, my whole world. . . . I can't tell you how often my education helped me remember not to omit the ethical side of any economic issue," he said.

Mr. Mazzocco later moved to Washington, where in 1940 he received a master's degree in economics from Catholic University. He then began work as a commerce expert at the U.S. Tariff Commission, a position that started his career as an analyst of international trade.

After Japan's attack on Pearl Harbor, Mr. Mazzocco enlisted in the Navy and was trained as a flier. Because he was fluent in Italian and French, he was assigned to military intelligence communication duties that included postings in the Mediterranean region around Italy. He served in the Navy and Naval Reserve, leaving as a lieutenant in 1946.

From 1949 to 1957, he was a senior staff officer in Europe working on the Marshall Plan, director of trade and industry programs at the U.S. Embassy in Rome and a specialist on European economic integration in Paris.

Mr. Mazzocco was stationed in Rio de Janeiro as the deputy director of the U.S. Agency for International Development mission to Brazil from 1957 to 1959 and, for the next two years, director of the same program to Ivory Coast.

From 1965 to 1971, he was based in Washington with frequent travel to South Vietnam as director of commodity control and surveillance of AID programs to that country. In 1970, Mr. Mazzocco also served as a professor at the Army War College. He was an instructor at the U.S. Police Academy in Washington from 1964 to 1972.

He was an economic adviser to the U.S. Information Agency from 1972 to 1974 , and his work included international speaking and writing assignments focused on U.S. proposals for international economic reform. His work took him to Europe and the Far East.

He lived in Washington from 1963 until his retirement in 1996.

Mr. Mazzocco had a voracious appetite for literature and conversation of all types and an uncanny ability to complete the New York Times crossword puzzle.

His wife, Marion Giorgi Mazzocco, whom he met in Paris and married in 1951, died in 1986.

Survivors include five children, a brother and three grandchildren.

William J. Mazzocco spent 35 years in government service and worked on four continents.