Put the following events in the correct chronological order.

1. Japan declares war on the US
2. Japan attacks Pearl Harbor
3. The US declares war on Japan

2. Japan attacks Pearl Harbor

1. Japan declares war on the US
3. The US declares war on Japan