when was the us got freedom