A Pennsylvania-based business that specializes in aircraft parts made from metal castings has sued an Enfield company after a fire destroyed its dies, molds and fixtures worth nearly $1 million.

The lawsuit, filed Thursday in the U.S. District Court for the District of Connecticut, states Yankee Casting Co. breached its contract because it had a duty to protect the items belonging to Triumph Group.

According to the lawsuit, Triumph paid Yankee Casting to make the castings. A fire, allegedly caused by a Yankee employee, destroyed the facility in March 2016. The employee allowed sparks to escape from metal that came into contact with the wood framing within the building, which caused the fire, according to the lawsuit.

Factory Mutual Insurance Co., Triumph’s insurance carrier, paid Triumph an adjusted sum for the company’s losses totaling $977,373. Additionally, Triumph incurred additional uninsured losses from the fire including a $250,000 deductible pursuant to the insurance company’s policy. The suit is being brought by both Triumph and Factory Mutual.

The lawsuit states the contract between the two companies required that Yankee purchase and maintain property insurance that could cover the value of Triumph’s assets. Yankee Casting did not purchase the required insurance, according to the lawsuit.

Among other things, the lawsuit states Yankee “failed to reasonably ensure that sparks or hot metal did not escape from its metal working activity, which it unreasonably conducted in a part of the building with exposed wooden frame members.” The lawsuit also states that Yankee has a responsibility to “protect Triumph’s dies, molds and fixtures from damage by fire by segregating or otherwise safely storing those items.”

The lawsuit cites counts for negligence, bailment and breach of contract. The lawsuit seeks an unspecified amount of monetary damages and attorney fees.

An attorney was not assigned for Yankee Casting as of Friday. No one from the company responded to a request for comment.

Triumph Group, which is based in Berwyn, Pennsylvania, and Factory Mutual are represented by Gregory Nolan, an associate with Renzullo & Associates in Winsted. Nolan did not respond to a request for comment.

The case is before U.S. District Judge Michael Shea in Hartford.