 The construction started in 1451 under grand vizier Veli Mahmud Pasha but due to his death in 1474 the mosque has been completed in 1494.The museum was established as a separate entity in 1893 as the National Museum directed by Czech Václav Dobruský with its headquarters in the former mosque that previously housed the National Library between 1880 and 1893.The museum was officially opened and inaugurated in 1905, as by then all archaeological exhibits previously kept all over the city were moved there, in the presence of Knyaz Ferdinand of Bulgaria and Minister of Enlightenment Ivan Shishmanov.