The National and University Library of Bosnia and Herzegovina (NUL) (Bosnian, Croatian and Serbian: Nacionalna i univerzitetska biblioteka Bosne i Hercegovine / Национална и универзитетска библиотека Босне и Херцеговине) is the national library of Bosnia and Herzegovina based in Sarajevo. During the war in Bosnia and Herzegovina, during the siege of Sarajevo, in the night from 25th to 26 August 1992, members of the Army of the Republic of Srpska shelled Vijećnica where the library was located at that time. As a result, many of its archival and library holdings were destroyed.
The National and University Library of Bosnia and Herzegovina was established by the Regulation on the National Library of the Yugoslav Republic of Bosnia and Herzegovina, signed by the then Minister of Education Ante Babic, which was published in the Official Journal of the Yugoslav Republic of Bosnia and Herzegovina, on 31 October 1945. The introductory part of the document reads: "On the basis of the authority of the National Government of Bosnia and Herzegovina on 9 October 1945. The Ministry of Education stipulates the following Decree on the National Library of the Federation of Bosnia and Herzegovina."  In the first article of this legal act of saying " shall be established in Sarajevo National library Federation of Bosnia and Herzegovina. it comes under the supervision of the Ministry of Education. the National library is the central library for the Federal Land Bosnia and Herzegovina, its activity covers the whole territory of Bosnia and Herzegovina. " The mission for which this institution was founded as highlighted in Article 2 of the said Regulation: "The National Library in Sarajevo has the task: to its readers and provide comprehensive knowledge of the life and culture of our peoples, especially the peoples of Bosnia and Herzegovina, to enable individuals and institutions and work in the field of science and art; to promote the establishment and improvement of library in Bosnia and Herzegovina, and by agreement with the Ministry of Education of the Federation of Bosnia and Herzegovina. " Thanks to its successful development, this institution has received a university function, which proved to be justified, because today the majority of its users are scholars, professors and students of Bosnian-Herzegovinian universities. In October 1995, in the Official Journal of the Republic of BiH, no. 37/95, the Law on Libraries was published, on the basis of which the NUB BiH operates.