How did Ayatollah Khomeini change Iran?

He made Islamic law the law of the land. He followed a foreign policy that was strongly against the U.S. He also led his country in a long war against its neighbor Iraq.