In June 2012 Barclaycard acquired Analog Analytics, a digital coupon and daily deal business similar to Groupon. In October 2012, Barclays announced it had agreed to buy the ING Direct UK business of the ING Group. The transfer of the business to Barclays was approved at the High Court on 20 February 2013 and ING Direct was renamed Barclays Direct and will be integrated into the existing Barclays business within two years. In February 2013, Barclays announced a net loss of £1.04 billion for 2012, its first annual loss in two decades, together with plans to cut 3,700 jobs, reduce annual costs by £1.7 billion, and scale back its retail banking activities in Europe and Asia. In May 2014, Barclays announced it would cut 19,000 jobs over three years with 12,000 jobs cut in 2014. Investment banking will cut 2,000 jobs in 2014 and up to 7,000 jobs totally in 2016 making the investment banking portion shrink from 50 per cent in 2014 to 30 per cent of Barclay's assets in 2016. Barclays announced in June 2015 that it would sell its US wealth and investment management business to Stifel for an undisclosed fee. Barclays sold its Retail Banking unit in Spain to CaixaBank in 2014. At its peak, Barclays had 5,100 employees and 600 offices in Spain. In 2014 the bank had 2,800 employees and 270 offices. With the sale, Caixabank acquired around 550,000 new retail and private banking clients and 2,400 employees. In March 2016, it was announced that Barclays has plans to sell its Africa business amid falling profits. In April 2016, Barclays announced a deal that allowed its UK customers to use Apple Pay. The bank announced in May 2017 that it would sell £1.5 billion worth of shares of its Barclays Africa Group subsidiary as part of its strategy to refocus its business from Africa to the UK and US. In September 2017, Barclay's sold off the last part of its retail banking segment on continental Europe after selling its French retail, wealth and investment management operations to AnaCap. To ward off the effects of Brexit, Barclays borrowed £6 billion from the Bank of England between April and June 2017, as part of a post-referendum stimulus package launched in August 2016. The former boss of Barclays, Bob Diamond, opined in an interview with "The Independent" in September 2017 that the City of London would feel a stronger negative impact from Brexit than generally expected. Diamond argued that both banking jobs and legal and support operations would eventually relocate to the Continent.