An insurer is discontinuing the sale of health insurance coverage in the Bay State.

The company, HealthMarkets Inc., North Richland Hills, Texas, also has agreed to make $15 million in payments to the Massachusetts Division of Insurance and the Massachusetts attorney general’s office, and it will be reconsidering some health claims denied between 2006 and August 2009.

The HealthMarkets subsidiaries that will stop writing health insurance in Massachusetts after Sept. 30 are the MEGA Life and Health Insurance Company, Mid-West National Life Insurance Company of Tennessee, and the Chesapeake Life Insurance Company.

HealthMarkets subsidiaries will continue to sell ancillary benefits products, such as dental and vision products, in Massachusetts, and the 27,000 customers who now have health insurance policies from HealthMarkets subsidiaries can keep those policies, the company says.

Massachusetts regulators have expressed concerns about whether customers understood the limitations of their coverage. HealthMarkets previously has made about $2.1 million in claims remediation payments, the company says.

HealthMarkets now has resolved all Massachusetts health insurance regulatory matters dating back to 2003, the company says.

“Given the unique environment regarding health insurance in Massachusetts, marketing only ancillary products, underwritten by its subsidiary insurance companies, is the best business strategy going forward,” the company says.

HealthMarkets says the decision to stop writing new health insurance products in Massachusetts will have no effect on marketing efforts in other states.

The company says its new management team is committed to ensuring that it complies with the agreements with the Massachusetts attorney general and the Massachusetts Division of Insurance.