An HIV positive man is "over the moon" after aviation chiefs changed the rules to allow him to train as a commercial pilot.
Anthony (not his real name), told the BBC in December it was "utterly devastating" to discover that he could not take up the position on the pilot training scheme.
He now hopes to take up his place on the course as soon as possible.
The CAA initially said the problem stemmed from European Aviation Safety Agency (EASA) regulations which state that pilots with certain medical conditions - including being HIV positive, organ transplantation or having type 1 diabetes - are only allowed to fly with a co-pilot.
"In the meantime, the CAA will issue initial class one medical certificates with a restriction to multi-pilot operations to applicants wishing to become commercial pilots, subject to the applicants passing their class one medical assessment".
Anthony gained his private pilots licence aged 17, before he was able to drive. He has wanted to be a pilot since he was a child, and began flying when he was 15.
He had not been able to take up a training place with easyJet because his medical status prevented him from obtaining the required certificate.
Earlier previous year he passed all the assessments at EasyJet, and gained a place on their training programme. I'm grateful that it's happened and very conscious of the fact that it's not just me, it's anyone with HIV that can now become a pilot.
"I had started to accept the diagnosis because of that".
Equality campaigners were celebrating the historic victory following the announcement of the rule change on Thursday morning by Andrew Haines, chief executive of the CAA.
"We have also been responsible for writing global guidelines on pilots living with HIV and have been promoting the need for changes to the current regulations regarding the restrictions applicable to pilots with certain medical conditions, including HIV".
Instead, people with HIV will be eligible to recieve a certificate that allows them to fly, but restricts them to multi-pilot operations until global change can be secured.
Nathan Sparling, head of policy and campaigning at HIV Scotland, said he was extremely pleased the CAA had recognised the current rules were outdated.
"This is a massive win for people living with HIV who want to become pilots".
"It is because this man came forward with his story that the CAA is now taking a more sensible and realistic approach".
"The decision brings the UK's aviation policy up to date with medical evidence that recognises the important advances in treatment for HIV, whilst maintaining the same high level of safety you can expect for air travel". Nicola Sturgeon, Scotland's first minister, warned that it could be in breach of equality legislation, and Lilian Greenwood, chair of the Commons transport select committee, wrote to the transport secretary about Anthony's case.
Mr Doris said: "I am delighted the CAA have responded to the representations that I and others have made on behalf of my constituent".
"For a long time I've been thinking HIV is a barrier to the way I want to live my dream but because of this rule change the barrier has gone and the dream can be pursued".