Signage is displayed outside Facebook Inc. headquarters in Menlo Park, California, U.S., on Tuesday, Oct. 30, 2018.

Facebook reached an agreement with the U.K. data regulator on Wednesday over an investigation into the misuse of Facebook users' personal data in political campaigns.

As part of the agreement, Facebook agreed to pay a fine of £500,000 ($643,000) and made no admission of liability.

The U.K. Information Commissioner's Office issued the fine in October 2018, accusing Facebook of "serious breaches" of data protection law related to the Cambridge Analytica data scandal. The U.K. said Facebook enabled third-party developers to harvest the data of 87 million people worldwide without their knowledge, including 1 million users in the U.K.

Cambridge Analytica improperly accessed the data and used it, in part, to target ads for Donald Trump in the 2016 presidential election.

Facebook appealed the fine last November. In the agreement announced Wednesday, Facebook and the ICO agreed to withdraw their appeals.