BOSTON — Margaret Heckler, an eight-term Republican congresswoman from Massachusetts, secretary of Health and Human Services under President Ronald Reagan, and U.S. ambassador to Ireland, has died.

Her family says she died Monday of cardiac arrest at an Arlington, Virginia, hospital. She was 87.

The death was confirmed by Murphy Funeral Homes, of Arlington, which is handling arrangements.

She was first elected to the U.S. House of Representatives in 1966 and was one of only 11 women in the House. She served until 1983.

At Health and Human Services from 1983 until 1985 she was among the first high-profile members of the Reagan administration to call for additional federal funding for AIDS research.

After she was forced out of the cabinet, she served as ambassador to Ireland until 1989.