House Minority Leader Nancy Pelosi with her husband Paul and grandchildren as they listen to President Obama speak at the House Democratic Issues Conference. (AP Photo/Charles Dharapak)

President Obama predicted Thursday that if Democrats pursue an ambitious agenda, House Minority Leader Nancy Pelosi (D-Calif.) will soon have the speaker's gavel back.

“It won’t be smooth, it won’t be simple, there will be frustrations, there will be times when you guys will be mad at me, and I'll occasionally read about it." he said. But if they keep focused, he said, "I would expect that Nancy Pelosi is going to be speaker again pretty soon."