The main purpose of this resolution is to direct the President of the United States to withdraw American military forces from any hostilities involving Iran. This action is grounded in the War Powers Resolution, which aims to limit the President's ability to engage in military actions without Congressional approval. The resolution specifies that the President must remove U.S. Armed Forces from hostilities against Iran, with one exception. If there is an imminent threat to the United States or its allies, the President can keep some military forces in place for defensive purposes.