In October 2008, the U.S. Treasury named BNY Mellon the master custodian of the Troubled Asset Relief Program (TARP) bailout fund during the financial crisis of 2007 to 2010. BNY Mellon won the assignment, which included handling accounting and record-keeping for the program, through a bidding process. In November 2008, the company announced that it would lay-off 1,800 employees, or 4 percent of its global workforce, due to the financial crisis. According to the results of a February 2009 stress test conducted by federal regulators, BNY Mellon was one of only three banks that could withstand a worsening economic situation. The company received $3 billion from TARP, which it paid back in full in June 2009, along with US$136 million to buy back warrants from the Treasury in August 2009.