text: "No-one will face a cliff edge," Theresa May said at a Brussels summit.
  A new "UK settled status" will grant those who have spent five years in the UK equal rights on healthcare, education, benefits and pensions.
  Guaranteeing EU citizens' rights is the top priority for the EU delegation negotiating Brexit.
  Before Mrs May's offer, the EU proposed that EU citizens in the UK and the estimated 1.2 million Britons living in EU countries should continue enjoying the same rights, enforceable by the European Court of Justice (ECJ).
  There are two other thorny issues that have to be resolved early on - the UK's divorce bill and the Northern Ireland border.
  An estimated 3.2 million EU citizens live in the UK and there is much nervousness - some even fear deportation.
  Mrs May sought to reassure the UK's 27 EU partners, saying the UK "does not want anyone here to have to leave, nor does it want families to be split up".
  Her Brexit statement took up little of the summit's time. There was no debate as the EU is anxious to avoid any splits emerging.
  The UK election left Mrs May seriously weakened, heading a minority government, which has fuelled uncertainty about the whole Brexit process.
  The UK's exit deadline is 30 March 2019. A cut-off date for obtaining "UK settled status" is yet to be announced.
  EU citizens who settle in the UK before Brexit will get a grace period to reach the five-year minimum for residency - but only if they arrive before the cut-off date.
  There are categories of people whose status may remain unclear, such as children, carers, students and Irish citizens. Ireland has a special relationship with the UK, including a Common Travel Area.
  The UK is anxious to start negotiating a new trade deal soon, but the EU has already won the argument that its Brexit priorities must be addressed first.
  As the summit got under way, European Council President Donald Tusk emphasised that the door to the UK staying in the EU was still open. Quoting John Lennon's Imagine, he said: "You may say I'm a dreamer, but I'm not the only one."
  Dutch Prime Minister Mark Rutte said that as an Anglophile, "I hate Brexit from every angle."
  "It is crucially important we know what Britain wants from Brexit," he warned. The Netherlands is one of the UK's closest EU allies, with a similar stance on free trade.
  Mrs May has vowed to take the UK out of both the EU single market and the customs union. But there are many voices - including in her Conservative Party - pressing for a softer approach.
  "I hope we'll come to some form of continued [UK] membership or relationship with the internal market," Mr Rutte said. "I absolutely believe the UK will be hit in the economy and the pound very hard."
  Counter-terrorism has also been a key issue at the summit which comes in the wake of an attack in Brussels on Tuesday.
  Several EU states have been attacked in recent weeks, including the UK, France and Sweden, and Mrs May said that an attack against any member state was an attack on all.
  The 28 leaders agreed to put legal pressure on internet giants like Google, Twitter and Facebook to remove jihadist content faster and more proactively.
  Mr Tusk said the bloc was calling on social media companies to do whatever was necessary to prevent the spread of terrorist material and was prepared to pass new legislation. "This means developing new tools to detect and remove material automatically," he said.
  The EU wants the industry to help tackle the problem of attackers slipping under the radar by using apps with end-to-end encryption.
target: EU citizens legally resident in the UK will be entitled to the same rights as British citizens after Brexit, the UK prime minister has told EU leaders.