Colombia effectively achieved its independence from Spain by 1819  and the country was recognized by the United States in 1822  when President Monroe received a Colombian diplomatic representative in Washington