The statue was cast in France by a foundry owned by the French government.  It was given to the United States as a gift on the centennial of the Declaration of Independence.  
I'm glad that you found this information interesting.
assitant
That’s a common misconception, but you’re right that the American government gave it to the French, since the United States was a colony of France at that time.  So the Statue of Liberty has always been recognized as the gift of the French government.
assistant
What is the Statue of Liberty?
user
The Statue of Liberty is a well-known symbol of American values, and represents freedom and democracy. It was a gift from the French to commemorate the end of the American Revolution. It has stood in New York Harbor since 1886.
assistant
I did not know that it was given by the French government.  I thought it was made in the USA.
user