On the same day their trial was set to begin, two midsize Pennsylvania law firms have settled a long-running case over lateral hiring in Florida.

Philadelphia defense firm Swartz Campbell and Valley Forge-based Chartwell Law Offices reached a settlement Wednesday morning in the Philadelphia Court of Common Pleas after more than five years of litigation. Judge Patricia McInerney announced the settlement order in court Wednesday. The monetary terms of the agreement are under seal.