what was latin americas first independent state?