Iran's President Hassan Rouhani prepares to depart after the end of a press conference on the sidelines of the 69th United Nations General Assembly in New York on Sept. 26, 2014. Reuters/Adrees Latif

(Reuters) - Iranian President Hassan Rouhani said on Wednesday Tehran will not accept a comprehensive nuclear deal with major powers if all sanctions imposed on Tehran were not lifted, state television reported.

"If there is no end to sanctions, there will not be an agreement," Rouhani said in a televised speech in the northern city of Rasht. "The end of these negotiations and a signed deal must include a declaration of cancelling the oppressive sanctions on the great nation of Iran."

Rouhani also said the U.S. Congress' power to review a nuclear deal with Iran was a domestic matter. "We are in talks with the major powers and not with the Congress," he said, adding Iran wanted to end its isolation by having "constructive interaction with the world and not confrontation."