Who has been the world 's largest producer of coffee for the last 150 years ?
In 1815 , it was elevated to the rank of kingdom upon the formation of the United Kingdom of Portugal , Brazil and the Algarves .