PROVIDENCE, R.I. (WPRI) – Rhode Island’s largest health insurer has settled a long-running antitrust lawsuit brought by an out-of-state hospital company that tried and failed to buy Landmark Medical Center.

In a joint court filing, Blue Cross & Blue Shield of Rhode Island and Steward Health Care of Massachusetts asked U.S. District Judge William Smith to dismiss the suit, which was filed in June 2013. The case had been headed for trial after Smith in April denied Blue Cross’s motion for summary judgment.

Steward alleged that Blue Cross conspired with Lifespan, the state’s top hospital group, and Thundermist Health Center, a major health provider in Woonsocket, to thwart its purchase of Landmark when the hospital was in receivership. (Lifespan and Thundermist were not defendants, however.)

Neither company was willing to discuss the terms of the settlement.

“In the interest of moving forward and ending years of litigation, Blue Cross & Blue Shield of Rhode Island has reached a mutually agreeable resolution to the Steward litigation,” Blue Cross spokesperson Gail Carvelli said in an email.

“BCBSRI continues to deny any wrongdoing and asserts that its business practices are, and have always been, fair, lawful and in the best interests of our members,” she said. “BCBSRI will vigorously defend all baseless claims to the contrary.”

Robert Corrente, a lawyer for Steward, also confirmed the settlement but declined further comment. A spokesperson for Steward did not respond to a request for comment.

Ted Nesi (tnesi@wpri.com) covers politics and the economy for WPRI.com. He is a weekly panelist on Newsmakers and hosts Executive Suite. Follow him on Twitter and Facebook