See more of the story

Edith Windsor, the gay-rights activist whose landmark Supreme Court case struck down the Defense of Marriage Act in 2013 and granted same-sex married couples federal recognition for the first time and rights to myriad federal benefits, died Tuesday in New York. She was 88.

Her wife, Judith Kasen-Windsor, confirmed the death but did not specify a cause. They were married in 2016.

Four decades after the Stonewall Inn uprising fueled the fight for lesbian, gay, bisexual and transgender rights in the United States, Windsor, the widow of a woman with whom she had lived much of her life, became the lead plaintiff in what is widely regarded as the second most important Supreme Court ruling in the national battle over same-sex marriage rights.

The Windsor decision was limited to 13 states and the District of Columbia.

But in 2015, the Supreme Court held that same-sex couples had a constitutional right to marry anywhere in the nation, with all the protections and privileges of heterosexual couples. Its historic significance was likened to that of Lawrence v. Texas in 2003, which decriminalized gay sex in the U.S.

Windsor had just wanted a tax refund. But for thousands struggling for gender equality, the stakes went far beyond tax advantages available to married heterosexuals, including Social Security, health care and veterans’ benefits; protection in immigration and bankruptcy cases; and keeping a home after a spouse had died, as well as food stamps, green cards and federal aid to the poor, the elderly and children.

Like countless others, Windsor had been snared by the Defense of Marriage Act of 1996, which barred same-sex married couples from federal recognition as “spouses,” effectively excluding them from federal benefits available to married heterosexuals.

After living together for 40 years, Windsor and Thea Spyer, a psychologist, were legally married in Canada in 2007. Spyer died in 2009, and Windsor inherited her estate. But the Internal Revenue Service denied her the unlimited spousal exemption from federal estate taxes available to married heterosexuals, and she had to pay taxes of $363,053.

She sued, claiming that the law, by recognizing only marriages between a man and a woman, unconstitutionally singled out same-sex marriage partners for “differential ­treatment.”

Affirming two lower court rulings, the Supreme Court overturned the law in a 5-4 ruling, citing the Fifth Amendment guarantee that no person shall be “deprived of life, liberty or property without due process of law.”

President Barack Obama called an elated Windsor with his congratulations. She became a national celebrity, a gay-rights matriarch, a grand marshal of New York City’s LGBT Pride March and a runner-up to Pope Francis for Time magazine’s person of the year in 2013.

Born Edith Schlain in Philadelphia on June 20, 1929, she was the youngest of three children of James and Celia Schlain, Jewish immigrants from Russia.

Edie read voraciously and was an excellent student in public schools. In high school during World War II, she dated boys but recalled having crushes on girls. In 1946, she enrolled at Temple University. She became engaged to her brother’s friend Saul Windsor, but broke it off when she fell in love with a female classmate.

“It was wonderful and terrible,” she told Time magazine years later. Deciding that she did not want a lesbian life, however, she reconciled with Saul Windsor and married him after receiving her bachelor’s degree from Temple in 1950. Less than a year later, they were divorced.