Which state was Pearl Harbor a part of when it was bombed in 1941 by Japan?

In 1941 Hawaii was a territory of the United States.