There is no such thing as a "last country on Earth." The concept of a "last country" implies a specific order or sequence, which doesn't exist in the context of countries. Countries are geographically dispersed across the globe and exist simultaneously, not in a sequential order.
Perhaps you are asking about the newest country on Earth, which is South Sudan. It gained independence from Sudan in 2011.