Stormy Daniels, the pornographic film actress who said she had an affair with Donald J. Trump before he became president, reached a $450,000 settlement on Friday with the City of Columbus, Ohio, after suing over her arrest at a strip club in July 2018.

The arrest made headlines across the country, raising questions about whether politics had been at play and why it was a priority to send four vice detectives to a strip club.

Within 24 hours, Ms. Daniels was charged with three misdemeanors, bailed out and released, and the charges were dropped. The Columbus police later said the arrest had been a mistake.

Ms. Daniels, whose legal name is Stephanie Clifford, sued the city in January for $2 million, citing false arrest and false imprisonment in violation of her civil rights.