For 3½ hours, China’s President Xi Jinping commanded the stage and the nation’s television screens as he set out a far-reaching agenda for the Communist Party, outlining a vision of total control, not only of the nation’s economy and the Internet but also of culture, religion and morals.

The Communist Party already has a hand in just about every aspect of life here. But Xi’s speech Wednesday — opening a five-yearly congress of the party’s top leadership — cast the net even wider.

His was a vision of a reinvigorated Communist Party, backed by a strong economy and a powerful, modern military taking an even more central role in the affairs of the nation and a more confident role on the world stage.