The social security system in Spain is its principal system of social protection. The concept of social security first appeared in Spain in 1883 and was expanded during the 20th century, with the right to social security enshrined in the 1978 Spanish Constitution. The Spanish social security system provides protection for healthcare, benefits for temporary incapacity, maternity, death, invalidity, retirement, unemployment, and other social services for both contributory and non-contributory categories including employees, self-employed, students, and civil servants.