A WOMAN allegedly purchased ecstasy from a man accused of killing a 14-year-old girl by giving her drugs.

Louise Blair, 20, told a jury at the High Court in Glasgow that she paid James McCairn £10 by bank transfer on July 7, 2020.

Less than a week later, Cerys Reeve died after taking MDMA allegedly given to her by McCairn.

READ MORE: Port Glasgow schoolgirl Cerys Reeve drug death trial begins

The 18-year-old is accused of "recklessly and unlawfully" giving the "potentially lethal" class A drug to Cerys at his home in Greenock on July 13, 2020.

The culpable homicide charge claims Cerys then took the ecstasy at another address in the town to the danger of her health, safety and life.

Miss Blair stated in evidence that she did not know McCairn but was aware of him.

She is one of a number of females who McCairn allegedly supplied Ecstasy to.

Miss Blair claimed that she had a conversation on SnapChat with him in June or July 2020.

Prosecutor Graeme Jessop asked what the conversation was about.

READ MORETeenage shop assistant left shaken after Glasgow Edinburgh Road Scotmid robbed

Miss Blair replied: "He messaged me asking to send him £10 for something I bought from the night before."

Mr Jessop: "What was that?"

Miss Blair: "A pill one of my friends had given me, I was told someone would message me for the money the next day."

Mr Jessop: "Who asked for the money?"

Miss Blair: "James McCairn."

The prosecutor asked what pill she was given and the witness replied: "Ecstasy."

Miss Blair claimed she did not take the pill and returned it to her friend.

The jury was shown a SnapChat conversation between the pair in which McCairn is alleged to have sent his bank details to the witness.

The witness was then seen to ask how much he charged for a gram of MDMA.

She claimed that she was unaware the message had been sent and added that it may have been her friend who sent the message.

The jury earlier heard from paramedic William Roxburgh, 33, who attended to Cerys after a 999 call was made.

He claimed she had a high heart rate of 180bpm, low oxygen and a high temperature that was not able to be registered on the thermometer as it was over 40 degrees.

The witness added that Cerys was "lying on her side slightly cuddled up."

He said that Cerys became increasingly unconscious and was not able to control her airways.

The trial continues before Judge John McCormick