A teenager was "kept as a prisoner" in Swansea and forced to hide Class A drugs, including inside her body, after being lured there by London drug dealers, a court has heard.

The 19-year-old told police that she cried every day after arriving in the South Wales city and realising that the men who were holding her would not let her leave.

On Friday Mahad Yusuf, 21, and Fesal Mahamud, 20, were handed nine- and 10-year sentences, respectively, at Swansea Crown Court, for their roles in trafficking the woman and for conspiracy to supply heroin and cocaine as part of a so-called county line operation.

The court heard the pair were caught after police raided an address in Jeffreys Court in Penlan, Swansea, on May 25 last year and found the 19-year-old there.

Also present were two other young people - a 15-year-old girl and a 14-year-old boy who was found to have drugs hidden inside him.

Caroline Rees QC, for the prosecution, said the woman, who cannot be named for legal reasons, told officers she became involved after receiving text messages asking her if she wanted to earn money and arranged to meet with Mahamud.

Ms Rees said the woman travelled with him to Swansea but when she arrived "it became apparent that she was there to further the purposes of the county line and she had no choice in the matter".

The court heard the woman's phone was destroyed, she was moved between a number of different houses and she was forced to conceal the gang's drugs, sometimes inside her body.

Ms Rees said the operation, run by the Enfield-based DA (Dem Africans) gang, involved the supply of Class A drugs into "provincial areas" through a process called "cuckooing".

She said the leading members were based in London while operatives were sent to areas such as Swansea to live in the houses of "vulnerable" drug users, who were at risk of exploitation.

The court heard thousands of messages recovered from their phones revealed Mahamud would send bulk text messages to Class A drug users in the area while the cuckoo, Yusuf in this case, controlled the drugs and cash locally and arranged for street deals to take place.

Ms Rees said analysis of the defendants' mobile phones valued the Class A drugs sold between March 13 and June 12 at £47,320 and estimated this was from just under half a kilogram of heroin and cocaine.

Sentencing them, Judge Keith Thomas said of the woman: "She was persuaded to travel to Swansea on the promise of money but as soon as she arrived she was told she would not be paid and there would be nasty consequences if she tried to leave.

"She was kept as a prisoner and moved from house to house in those conditions for two weeks."

Neil Baki, defending Mahamud, said his client was "ashamed" of his actions.

He said: "This was certainly prolific drug dealing but not on what I would described as a commercial scale.

"He doesn't have substantial links or influence on others in the chain.

"There may have been an expectation of profit but ... he did not receive the lucrative benefit of drug dealing in that sense."

Barry Smith, for Yusuf, said his client had little understanding of the scale of the operation and was not involved in sending out the bulk text messages.

He said Yusuf was "young and immature" and had shown "genuine" remorse.

Yusuf, of Cuckoo Hall Lane, Edmonton, and Mahamud, Zambezi Drive, Enfield, both admitted two counts of conspiracy to supply Class A drugs and one of trafficking a young person for the purposes of exploitation under the Modern Slavery Act.

Yusuf was jailed for six years and four months for the drugs offences and two years, eight months for trafficking, a total of nine years.

Mahamud was sentenced to six years and nine months in a young offenders institution (YOI) for the drugs offences and one year three months for the trafficking.

He was also sentenced to a further two years consecutive for two further counts of possession of Class A drugs with intent to supply which took place in Margate on July 1 2016.