Its the Buffalo & Erie County Historical Society Museum.
It was erected in 1901, in what is now Delaware Park, as the New York State pavilion for the Pan-American Exposition
(the same Pan-American Exposition in which William McKinley was assassinated prompting Theodore Roosevelt to be sworn in as President).