Original: Although she was originally one of the Queen consorts of Trisong Detsen, she was given to Padmasambhava and became his main spiritual consort.
Simplified: Although she was originally one of the Queen consorts of Trisong Detsen, he gave her to Padmasambhava and she became his main spiritual consort.