Morocco was the first country to recognize the independence of america.

I hear this often when in Morocco; not quite sure what it means.  Does it mean that the Moroccan king was the first to allow an American embassy in his country?  Does it mean Moroccan’s were the first to buy t-shirts emblazoned with the American flag?  Who knows-