John Maury, 71, a retired official of the Central Intelligence Agency and former Marine Corps colonel who was assistant secretary of defense for legislative affairs from 1974 to 1976, died of cancer July 2 at Georgetown University Hospital. He lived in Washington.

Mr. Maury served in the Marine Corps from 1940 to 1946. During World War II, he held posts in the Office of Naval Intelligence, was an assistant Naval attache' in Moscow, and commanded the U.S. military mission in Murmansk.

After leaving the Marines, he joined the CIA, holding a variety of agency posts. He was an aide to Gen. Lucius Clay in West Germany and was a member of the national estimates staff in the national estimates office before becoming a special assistant to the director of central intelligence for national security council matters in 1952.

In the 1960s, he spent six years as CIA station chief in Athens. In 1968, he became the agency's legislative counsel and head of its liaison activities with Congress. He held that post until retiring and becoming assistant defense secretary.

Mr. Maury was born in Charlottesville and graduated from the University of Virginia law school in 1936. For the next four years, he was a prosecutor in Albemarle County.

In recent years, he had been a Pentagon consultant, and writer and lecturer on national security affairs. He was a director and past president of the Association of Former Intelligence Officers. He was a graduate of the National War College and Cornell University's Russian Institute.

Survivors include his wife, the former Mary Stuart, of Washington.