Retired Navy Vice Adm. Walter Stanley DeLany, 89, a veteran of both World Wars and the president of the Naval Historical Foundation in Washington since 1967, died Sunday at Bethesda Naval Hospital. He had pneumonia and a heart ailment.

Adm. DeLany served aboard destroyers in the Atlantic during World War I. During World War II, he commanded a cruiser in the Pacific and was a staff officer at Pearl Harbor and in Washington.

Following the war, he was the commander of the battleships and cruisers of the Pacific Fleet. He then was named commandant of the Third Naval District in New York. In May 1952, he was appointed commander of the eastern sea frontier. He retired from active duty in the following year.

From 1953 to 1961, Adm. DeLany was an official of the Commerce Department, coordinating East-West strategic trade projects. In 1961, he became affiliated with the Naval Historical Foundation and was named that organization's president six years later.

Adm. DeLany was a member of the board of managers of the Navy Relief Society and was chairman of its finance committee. He also was a member of the Army and Navy Club and the Sons of the Revolution.

He was a member of All Souls Memorial Episcopal Church and served on its vestry from 1965 to 1968. He was senior warden from 1973 to 1975.

Adm. DeLany was a native of Readin g, Ps., and a 1912 graduate of the U.S. Naval Academy at Annapolis. Between the two wars, he was executive officer of a destroyer, served two tours of duty in Washington, was navigator of the battleship New York, and commanded a destroyer division.

In February 1941, he was named assistant chief of staff and operations officer on the staff of the commander of the Pacific fleet, posts he held until June 1942, when he became captain of the cruiser New Orleans. After participating in the battle of Guadalcanal, he was assigned to a staff post in Washington.

At the end of World War II, Adm. DeLany was a Navy representative on the Joint Committee on New Weapons and Equipment.

Adm. Delany's medals include two Legions of Merit.

Survivors include his wife, the former Lou May Sharman of Washington; one daughter, Kathryn DeLany Fawkes of Arlington; one son, retired Navy Capt. Walter S. Jr. of Danville, Va., and four grandchildren.

The family suggests that expressions of sympathy be in the form of contributions to the Naval Historical Foundation at the Washington Navy Yard.