WASHINGTON, DC - JANUARY 20:  Dawn breaks behind the White House as the nation prepares for the inauguration of President-elect Donald Trump on January 20, 2017 in Washington, D.C.  Trump becomes the 45th President of the United States.    (Photo by Kevin Dietsch-Pool/GettyImages)
Washington CNN  — 

The White House lambasted Russia in a statement Thursday for “the most destructive and costly cyber-attack in history” and said it “will be met with international consequences.”

The attack, titled NotPetya, initially targeted computers in Ukraine last year but affected companies around the globe, like British advertising group WPP, Oreo maker Mondelez, drugmaker Merck and global shipping company FedEx.

“It was part of the Kremlin’s ongoing effort to destabilize Ukraine and demonstrates ever more clearly Russia’s involvement in the ongoing conflict,” said the statement from White House press secretary Sarah Sanders.

The attack, according to the White House’s statement, caused “billions of dollars in damage across Europe, Asia, and the Americas.”

Earlier on Thursday, the British government had released a statement on the attack, calling out Russia for its actions.

“The destructive attack masqueraded as ransomware, but its purpose was principally to disrupt,” the UK government said in a statement.

The statement from British officials also said the actions “will not be tolerated.”

The cyberattack took place in June 2017, and CNN previously reported that it was similar to WannaCry, including how it required victims to pay in bitcoin in order to retrieve files.

In September, FedEx attributed a $300 million loss to the attack, and the company’s subsidiary TNT Express had to suspend business.

CNN’s Ivana Kottasová, Alanna Petroff and Selena Larson contributed to this report.