The Federal Trade Commission approved a $5 billion settlement of a privacy dispute with Facebook (FB - Get Report) , a person familiar with the matter told The Wall Street Journal.

The dispute was tied to an FTC inquiry into the improper handling of the personal data of millions of Facebook users by Cambridge Analytica, a data firm that worked on President Donald Trump's 2016 campaign.

The Journal reported that the inquiry focused on whether the matter violated a 2012 consent decree in which Facebook agreed to better protect its users' privacy.

The FTC's three Republican commissioners voted for the settlement, while the two Democrats on the panel objected, the person familiar with the matter told the paper.

The decision now goes to the Justice Department's civil division for review, the paper reported. Such reviews are routine and don't usually change the outcomes, the paper said.

The Menlo Park, Calif., social-media giant in April said in its first-quarter earnings report that it had set aside $5 billion to pay an expected fine.

Facebook shares rose 1.8% to $204.87 in the regular session Friday. They were little changed after hours. The shares are up almost 57% year to date.

U.S. Senator and presidential candidate Elizabeth Warren tweeted late Friday that the settlement is a victory for Facebook, pointing out that the fine amounts to only a portion of the company's profits in a single year.

Facebook made $5 billion in profits in just the first three months of last year. The company is too big to oversee, and this drop-in-the-bucket penalty confirms that. The FTC should break Facebook up, plain and simple. Enough is enough.

— Elizabeth Warren (@SenWarren) July 12, 2019

Others saw the settlement as a sign of things to come for big tech companies facing more scrutiny from governments in the U.S. and abroad.

Save 45% with our Prime Time Sale. Join Jim Cramer's Investment Club, Action Alerts PLUS, to become a smarter investor! Click here to sign up!

Facebook is a holding in Jim Cramer's Action Alerts PLUS Charitable Trust Portfolio. Want to be alerted before Cramer buys or sells FB? Learn more now.