On July 7.1898 ; U.S. President William McKinley signs the Newlands Resolution annexing Hawaii as a territory of the United States.