When did Pearl Harbor become a naval base?

Naval Station, Honolulu officially came into being on 17 November 1899. There had been much discussion and several treaties were signed between the King of Hawaii and the US prior to that. The location had served off and on as a coaling station for the US Navy over the previous 20 or so years.