Well not quite 40 years ago for me. Although it was probably nearer 50 years ago that I first got treated by a doctor in Harley Street at aged 16 by my parents to electro convulsive therapy to cure me of my "dirty thoughts"" of wanting to wear women's clothes. I was a DES baby. Of course that never worked, I just knew I had to bury those feelings deep in my psyche if I was ever to survive. By, the time I was in my late 20's and early 30's I knew I was TS and managed to get into Charing Cross GIC under Dr John Randall but was told then that I had to do full time RLE to qualify for HRT. This was early 1980's. John Randall though said if I saw him privately and not through Charing Cross he might be able to see me more often. I thus became a private patient and after 4 sessions with him was authorised for HRT. I then saw him dressed as a woman every couple of months. By 1986 I came out to my wife that I was TS, we separated and soon after was sent to Australia on a business trip. There I continued on a more aggressive HRT program (injections rather than pills) and on returning to the UK 9 months later, decided to transition to full time when I was made redundant. It was very hard in 1986, although John Randall was by then very supportive of me. But I was terrified by possible exposure in the press. Ultimately I was outed at work after being full time for just under a year and lost my job as a Secretary for one of the UK Building societies then lived with a couple for another year in a poly relationship, before getting headhunted for a job (as my male self) back in Australia, so I emigrated. 1.5 years later after living a double life (working as a male, living as a woman and on continuous HRT), I de-transitioned.
Yes it was very tough in the 70s and 80's in the UK. Now 30 years later it is so much easier and much more accepting.