It has been the capital since 1865 .
Parliament officially met in Wellington for the first time on July 26 , 1865 .