NEW YORK (AP) — The former head of HSBC Bank's foreign exchange cash trading was sentenced Thursday to two years in prison on charges he traded ahead of his customers to make millions of dollars in a scheme known as "front running."

"Mark Johnson exploited confidential information and betrayed a client in order to generate profits for HSBC and enrich himself," said U.S. Attorney Richard Donoghue. "Johnson has been held accountable for his crimes and today's sentence should serve as a deterrent to fraudsters seeking to cheat their victims."

Johnson, 51, a United Kingdom citizen, was sentenced in Brooklyn federal court after being convicted in October 2017 of wire fraud conspiracy and wire fraud. He also must pay a $300,000 fine.

Johnson and a co-defendant misused confidential information given to them by a client who wanted the bank to execute a foreign exchange transaction related to the planned sale of part of its ownership interest in an Indian subsidiary in 2011, according to authorities.

Prosecutors say Johnson and other traders they directed bought British Pound Sterling for HSBC's "proprietary" accounts prior to converting about $3.5 billion in sales proceeds on behalf of the client into British Pound Sterling, knowing the large transaction would boost the price of the pound. This enabled them to generate roughly $7.3 million, some of it illegally, to the benefit of HSBC and at the expense of their client, authorities said.

During the trial, Johnson insisted the client got a fair price and that HSBC was only "pre-hedging" the trade. Johnson's lawyer, Mark Wohl, said they intend to appeal.

The bank wasn't accused of any wrongdoing. The co-defendant is in the U.K. fighting extradition.

Copyright 2018 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.