Attachment and Health
John Bowlby and Mary Ainsworth developed attachment theory in the 1960s while investigating the effects of maternal separation on infant development. The development of the Strange Situation task in 1965 by Ainsworth and Wittig allowed researchers to systematically investigate the attachment system operating between children and their parents. The Strange Situation involves separating infant-parent dyads and observing infant behaviours upon reunion. Infant behaviour tended to follow patterns, leading to the development of three attachment categories: Secure, Anxious-Avoidant, and Anxious-Resistant. In 1990, Ainsworth added a new category, championed by Mary Main, called Disorganized/Disoriented attachment, characterized by its less reliable pattern of behaviour.
Attachment measures
Scores on the anxiety and avoidance scales can still be used to classify people into the four adult attachment styles. 
The four styles of attachment defined in Bartholomew and Horowitz's model were based on thoughts about self and thoughts about partners. The anxiety scale in the ECR and ECR-R reflect thoughts about self. Attachment anxiety relates to beliefs about self-worth and whether or not one will be accepted or rejected by others. The avoidance scale in the ECR and ECR-R relates to thoughts about partners. Attachment avoidance relates to beliefs about taking risks in approaching or avoiding other people. Combinations of anxiety and avoidance can thus be used to define the four attachment styles. The secure style of attachment is characterized by low anxiety and low avoidance; the preoccupied style of attachment is characterized by high anxiety and low avoidance; the dismissive avoidant style of attachment is characterized by low anxiety and high avoidance; and the fearful avoidant style of attachment is characterized by high anxiety and high avoidance.