Francis Drake Foley, 89, a retired Navy rear admiral who served aboard aircraft carriers in the Pacific during World War II and later commanded Task Force 77 in the Pacific, died of heart ailments Nov. 8 at Anne Arundel General Hospital in Annapolis.

Adm. Foley, a naval aviator, was the air operations officer aboard the carrier Hornet when it was sunk in the Battle of Santa Cruz in the Solomons in October 1942. Later in the war, he held staff positions on other carriers.

In the postwar years, Adm. Foley held assignments in Washington and elsewhere in the United States. He graduated from the Naval War College in Newport, R.I. In the mid-1950s, he commanded a seaplane tender and then the carrier Shangri-La in the Pacific. He later served on the staff of the commander in chief in the Pacific in Pearl Harbor.

Other assignments were on the staff of the Chief of naval operations and at NATO headquarters in Europe.

In 1960 and 1961, Adm. Foley commanded Task Force 77, the attack arm of the Pacific Fleet.

In subsequent assignments, he commanded the 3rd Naval District in New York and served as senior member of the U.N. Command Military Armistice Commission in Seoul. He retired in 1972.

Adm. Foley was born into a Navy family in Dorchester, Mass. He graduated from the U.S. Naval Academy at Annapolis in 1932, and he returned to Annapolis when he retired.

His military decorations included the Legion of Merit, the Bronze Star with Combat "V" and the Joint Services Commendation Medal.

He was a member of the U.S. Naval Academy Alumni Association, the Annapolis Yacht Club, the New York Yacht Club, the Army-Navy Club and the Army Navy Country Club.

His first wife, Martha McCullough Foley, died in 1965. His second wife, the former Clair O'Neill Vogel, died in 1984.

Survivors include a daughter from his first marriage, Josephine Drake Foley of Warrenton; four stepchildren, retired Navy Capt. Raymond W. Vogel of New London, Conn., retired Navy Cmdr. Timothy J. Vogel and Jamie H. Fallon, both of Annapolis, and retired Marine Corps Col. Frederick J. Vogel of Herndon; 12 grandchildren; and seven great-grandchildren.