German Chancellor Angela Merkel played a key role in the talks and praised the deal .