Emily Thornberry said she was resigning from the shadow cabinet as she "will not let anything distract from Labour's chance to win" the next General Election.
Ms Thornberry, who was shadow attorney general, said in a statement: "Earlier today I sent a tweet which has caused offence to some people. That was never my intention and I have apologised.
"However I will not let anything distract from Labour's chance to win the coming General Election.
"I have therefore tonight told Ed Miliband I will resign from the shadow cabinet."
More top news
The worst of the weather will be in the southeast of England on Monday, with the rest of the country enjoying outbreaks of sunshine.
The game between Haringey Borough and Yeovil Town had to be abandoned after players from both sides walked off.
Protesters threw firebombs and took their anger out on shops with mainland Chinese ties.