The Sensex rose 254 points to close at 77,410, while the Nifty gained 82 points to settle at 24,168, ending above the 24,150 mark. The Nifty Bank index outperformed, advancing 379 points to 57,964, while the Midcap index climbed 256 points to 62,379.