In what year was the iPhone first released?

In what year was the iPhone first released?