We describe the historical evolution of the Spanish Social Security system and its current organization. Our attention concentrates on the main public pension scheme for private employees in the manufacturing and service sector (RGSS) which covers by far the largest majority of Spanish workers....