When did countries stop buying land from each other?

by 2pi628

For example, the US buying Alaska, or the US Virgin Islands

Commonmispelingbot

Not entirely sure that has stopped. /r/geopolitics might be an interesting place to ask that question.