The lawsuit, filed by the president in federal court in Florida, claims The Times defamed him and sought to undermine his campaign in the 2024 election.