Citigroup Inc., Royal Bank of Scotland Group Plc, and JPMorgan Chase & Co. are among five banks that have agreed to pay European Union (EU) fines of about 1.07 billion euros ($1.2 billion) for colluding on foreign-exchange trading strategies.

Citigroup was fined 310.8 million euros, RBS will pay 249.2 million euros and JPMorgan’s penalty was 228.8 million euros, the European Commission said in a statement on Thursday.

Barclays was fined 210.3 million euros and Mitsubishi UFJ Financial Group Inc. is to pay nearly 70 million euros.

Traders ran two cartels on online chatrooms, swapping sensitive information and trading plans that allowed them make informed decisions to buy or sell currencies, the regulator said.

“Foreign exchange spot trading activities are one of the largest markets in the world, worth billions of euros every day,” EU Competition Commissioner Margrethe Vestager said.

“These cartel decisions send a clear message that the commission will not tolerate collusive behaviour in any sector of the financial markets,” said Vestager.

While large, the cartel fines are lower than a 1.3 billion euro penalty for banks five years ago for rigging Euribor rates and below a record 3.8 billion euro penalty for collusion between truckmakers.

UBS Group AG escaped a fine because it was the first to tell regulators about the collusion. The five banks won reduced penalties by striking a settlement with the EU that wont allow them challenge the EUs findings. Credit Suisse Group AG was separately charged by the EU over FX collusion last year and a fine may come at a later date.