Russia responded angrily on Saturday to a comment by U.S. Secretary of State Antony Blinken that Kazakhstan might have a hard time getting rid of Russian troops.
Russia said that he should reflect instead on U.S. military meddling around the world.
Blinken on Friday challenged Russia's justification for sending forces into Kazakhstan after days of violent unrest in the Central Asian country.
"One lesson of recent history is that once Russians are in your house, it's sometimes very difficult to get them to leave," Blinken said.
Russia's foreign ministry called Blinken's remark "typically offensive" and accused him of joking about tragic events in Kazakhstan. It said Washington should analyse its own track record of interventions in countries such as Vietnam and Iraq.
"If Antony Blinken loves history lessons so much, then he should take the following into account: when Americans are in your house, it can be difficult to stay alive and not be robbed or raped," the ministry said on its Telegram social media channel.
"We are taught this not only by the recent past but by all 300 years of American statehood."
The ministry said the deployment in Kazakhstan was a legitimate response to Kazakhstan's request for support from the Collective Security Treaty Organisation, an alliance of ex-Soviet states that includes Russia.
The Kazakh intervention comes at a time of high tension in Moscow's relations with Washington as the two countries prepare for talks on the Ukraine crisis starting on Monday.
Moscow has deployed large numbers of troops near its border with Ukraine but denies Western suggestions it plans to invade.


Nine days after disaster, two pulled alive from Nepal hydropower tunnel
Germany launches manhunt after spate of sabotage attacks on power grid
Air India sack Phuket-Delhi pilot who failed drug test
Wildfires spread near Indonesia's new capital, prompting calls for action
Philippine court issues warrant for VP Duterte's arrest in grave threats case
Typhoon Saudel brings torrential rain, flooding to China's coastal areas
US investigates deadly strike on Iranian wedding
India food safety crackdown targets company of Nepal's 'Noodle King'
