The fireworks could be seen and heard in some Rio de Janeiro neighborhoods.