One of the favourites for the gold medal, Spain, put in a terrible performance as they had Inigo Martinez sent off and lost 1-0 to Japan.
Spain should have lost by a lot more as their passing game deserted them and they went behind as Yuki Otsu arrived unmarked to meet a corner and give Japan an unlikely lead.
Then less than ten minutes later Martinez was given his marching orders for hauling down his man when through on goal and Spain were unable to get back into the game.
It was the first time the Japanese had ever beaten the World and European champions at any level.