Gordon Matthews Stewart, 88, who retired in 1971 as inspector general of the Central Intelligence Agency, died of prostate cancer Dec. 17 at his daughter's home in Pulaski, Va.

Before serving as inspector general, he held posts as chief of the foreign intelligence staff, chief of the Eastern Europe division, director of personnel and member of the board of national estimates.

His career honors included the Intelligence Medal of Merit and the Distinguished Intelligence Medal.

Mr. Stewart began his association with intelligence work during World War II while serving in the Army. He was detailed to the Office of Strategic Services and was sent to London in 1944 and to Germany in 1945 as chief of station.

He was born in Corning, N.Y., and raised in Philadelphia and Oak Park, Ill. He attended the University of Rochester and the University of Chicago before entering the Army during the war, initially serving as an instructor at a field artillery school.

A former Washington, Chevy Chase and Columbia resident, he had lived in Pulaski since October.

In retirement, he taught world history at Sandy Spring Friends School from 1971 to 1985.

He was a longtime member of what is now Casa Del Pueblo United Methodist Church in Washington and past treasurer of the church and its child-care center.

His wife, Margaret Stewart, died in May.

Survivors include two children, Suzanne Stewart Moseman of Pulaski and William Marshall Stewart of Canonsburg, Pa.; a brother; and four grandchildren.