Ahmadinejad spoke by telephone with Ismail Haniyeh, the Hamas leader who was dismissed as Palestinian prime minister in 2007 by President Mahmoud Abbas, the government broadcaster Press TV reported.
"Zionists have reached the end of the road and have no choice but to recognize and yield to the absolute right of the Palestinian nation," Ahmadinejad told Haniyeh.
Iran is one of Hamas' major international sponsors.
2014: NFL Cheerleaders [PHOTOS]
Syrian Al Qaida group executes Lebanese soldier