John B. Wright, 65, an Annapolis attorney and a past president of the Anne Arundel County Board of Education and the Annapolis Jaycees, died of cardiac arrest June 7 at Anne Arundel General Hospital.

Mr. Wright, a resident of Annapolis, was born in Oshkosh, Wis. He graduated from Michigan State University and earned a law degree at Columbia University. During World War II, he was a captain in the Army and served in Europe. During the Korean War, he served in the Office of the Judge Advocate General of the Army in the Pentagon.

In 1952, Mr. Wright settled in Annapolis and founded a law practice. At his death he was a partner in the firm of Wright, Wright & Sussman. In the early 1950s, he was an Annapolis city attorney.

He was a past president of the Maryland Plaintiffs' Bar Association, now the Maryland Trial Lawyers' Association, and the Anne Arundel County Bar Association. He was a member of the Maryland Trial Courts Judicial Selection Commission.

Mr. Wright served on the Anne Arundel Board of Education from about 1963 to 1974 and was president of the board for part of that time.

He was a past president of the board of trustees of the Trinity United Methodist Church, a past commodore of the Alberg 30 Sailing Association, and a member of the Annapolis Yacht Club and the Annapolitan Club.

Survivors include his wife, Betty A. Wright, and three children, Richard T., David L., and Mary Ann Wright, all of Annapolis; his mother, Doris B. Wright, and one sister, Jeanne W. Jones, both of Grand Rapids, Mich., and five grandchildren.