Treaty of Portsmouth
The war was ended with Komura's signature on behalf of the Japanese government of the Treaty of Portsmouth, which was highly unpopular in Japan and led to the Hibiya incendiary incident.