Coexistence of antiferromagnetism and superconductivity near the quantum criticality of the heavy-fermion compound CeRhIn5.