NEW DELHI  By endorsing India for a permanent seat on the United Nations Security Council, President Obama on Monday signaled the United States’ intention to create a deeper partnership of the world’s two largest democracies that would expand commercial ties and check the influence of an increasingly assertive China.

Mr. Obama’s announcement, made during a nationally televised address to the Indian Parliament, came at the end of a three-day visit to India that won high marks from an Indian political establishment once uncertain of the president’s commitment to the relationship. Even as stark differences remained between the countries on a range of tough issues, including Pakistan, trade policy, climate change and, to some degree, Iran, Mr. Obama spoke of India as an “indispensable” partner for the coming century.

“In Asia and around the world, India is not simply emerging,” he said during his speech in Parliament. “India has emerged.”

Mr. Obama’s closer embrace of India prompted a sharp warning from Pakistan, India’s rival and an uncertain ally of the United States in the war in Afghanistan, which criticized the two countries for engaging in “power politics” that lacked a moral foundation.