(CNN) -- Iran and Venezuela plan to stand up against "imperialist" foes by strengthening bilateral cooperation on a range of issues, including nuclear power, Iranian President Mahmoud Ahmadinejad said Saturday.

Chavez: "Tehran and Caracas should help revolutionary nations through further expansion and consolidation of their ties."

"Expansion of Tehran-Caracas relations is necessary given their common interests, friends and foes," Ahmadinejad said after a meeting with his Venezuelan counterpart President Hugo Chavez, according to Iran's semiofficial FARS news agency.

Chavez was in Tehran on Saturday with a team of high-ranking officials for a two-day visit.

Chavez reiterated the goal: "Tehran and Caracas should help revolutionary nations through further expansion and consolidation of their ties."

Venezuela announced a new agreement with Iran for a joint geological study in the South American country's Andean belt, the state-run ABN news agency said.