A federal judge in Arkansas on Tuesday gave her final approval to a $160 million settlement in a securities class action stemming from the alleged bribery scheme involving Walmart’s Mexican subsidiary.

The agreement, approved by U.S. Judge Susan O. Hickey of the Western District of Arkansas, brought an end to long-running litigation from Walmart investors who said they were affected by a sharp drop in the retail giant’s stock after The New York Times reported in 2012 that the company had tried to cover up $24 million in bribes that executives from Walmart de Mexico had paid to high-ranking Mexican officials in order to speed up store openings.