During a meeting with Azerbaijani President Ilham Aliyev, President Donald Trump stated that the U.S. military operation in Iran was not aimed at regime change. However, he indicated that if new leadership emerged in Tehran as a result, it would be acceptable. Trump also noted that other countries, including Israel, had advocated for regime change.
Trump says he was ‘never about’ regime change in Iran (this article)