Legal deposit requires publishers to provide a copy of every work they publish in the UK to the British Library. It's existed in English law since 1662. Since 2013, legal deposit regulations have expanded to include digital as well as print publications.