As part of the plea agreement , he admitted to removing maps from collections at Harvard , Yale , the New York Public Library , Boston Public Library , the Newberry Library in Chicago and the British Library in London .