Where was the iPhone invented?

It was thought of in america but made in china.

"Designed by Apple in California", more precise in Cupertino