The Venezuelan president has made several trips to Iran since Mr. Ahmadinejad took power in 2005 .