Simulations of Galaxy Formation in a ΛCDM Universe. III. The Dissipative Formation of an Elliptical Galaxy