After seven grueling years, the smartphone case of the century is over.

Lawyers for Apple Inc. and Samsung Electronics Co. informed U.S. District Judge Lucy Koh of the Northern District of California on Wednesday that “they have agreed to drop and settle their remaining claims and counterclaims in this matter.”