A rare anti-government demonstration has been held in the Iranian capital during a speech at
There were scuffles as hundreds of supporters and opponents of the president gathered outside the venue.
Eyewitnesses said police used tear gas to hold the demonstrators back.
Student leaders had challenged Mr Ahmadinejad to meet them after he spoke at
The BBC's Jon Leyne in
Tear gas
But from outside two groups of demonstrators were clearly visible, each of perhaps a few hundred students, BBC correspondent says.
One group was made up of government supporters. Another group of opponents was chanting: "Death to the dictator."
According to eyewitnesses police used tear gas when the protesters tried to break into the hall where Mr Ahmadinejad was speaking. They also tried to prevent him leaving.
Protesters eventually dispersed once Mr Ahmadinejad left the university.
It was not a huge crowd but it was one of the first demonstrations against the government here in many months.
Mr Ahmadinejad faced similar dissent during a speech in December 2006 when students at
Speech omissions
It has also emerged that parts of a speech given by the president last week in the
During the speech Mr Ahmadinejad criticized those pressing for negotiations on the nuclear issue. Much of the speech was carried live but those comments were not aired.
Mr Ahmadinejad's remarks were seen as criticism of supporters of former President Hashimi Rafsanjani.
PHOTO CAPTION