Updated

President Barack Obama is using his quick visit to Indonesia to praise the nation for its transformation to democracy and its spirit of religious tolerance.

In a speech he's giving at the University of Indonesia in Jakarta, the president says that the years he spent in Indonesia as a boy helped him to appreciate the common bonds that link people of different regions, religions and ethnic groups.

The president says that Indonesia's democracy and tolerance should be an example to the world. And he says that's why Indonesia will play an important role in the 21st century.

Obama's quick trip to Indonesia is sandwiched between three days in India and economic meetings in South Korea and Japan.