The public inquiry was told that Andy formed a sexual relationship with a teenage activist.