LONDON (AP) -- Royal Bank of Scotland (NYSE:RBS) says Spanish bank Santander (NYSE:SAN) has backed out of its deal to buy 316 RBS branches in the U.K.

The bailed-out bank, which is 82% owned by British taxpayers, was required by the European Commission in 2009 to sell the branches as a condition for receiving state aid. Santander agreed to the purchase in August 2010.

RBS said Friday that it had been notified by Santander that it would be pulling out of the deal to buy 316 branches and the NatWest branch business in Scotland -- a move chief executive Stephen Hester called disappointing.

The bank said in a statement it would continue to work on fulfilling its obligations to the European Commission and pledged the decision would not impact service to customers.

The Motley Fool has no positions in the stocks mentioned above. Try any of our Foolish newsletter services free for 30 days. We Fools may not all hold the same opinions, but we all believe that considering a diverse range of insights makes us better investors. The Motley Fool has a disclosure policy.