William L. Neff, 65, a partner in the legal firm of Hogan Lovells, where he worked for more than two decades, died Aug. 4 at his home in Chevy Chase.

He had gastrointestinal hemorrhage, his daughter Sara Neff said.

Mr. Neff specialized in legal matters that included executive compensation, employee benefits and mergers and acquisitions. He chaired his firm’s pension committee for several years.

Mr. Neff previously had a private practice in Washington. In the 1970s, he worked in the Virgin Islands as an assistant to U.S. District Judge Warren H. Young and as an assistant attorney general.

William Leroy Neff was born in Macon, Mo. He received a bachelor’s degree in political science from the University of Missouri in 1969, a law degree from Harvard University in 1974 and a master of laws degree in taxation from Georgetown University in 1982.

For more than two decades, he did volunteer work in Washington with Gifts for the Homeless.

Survivors include his wife of 35 years, Laurel Glassman of Washington; two daughters, Sara Neff of Los Angeles and Audrey Neff of New York City; his mother, Helen Neff of Macon; four sisters; and a granddaughter.

— Emily Langer