Why did the United States allowed the Shah to come to America following the Iranian Revolution?

to escape prosecution
to receive medical treatment
to be given political asylum
to be given a place for exile