
John Jones, 30, of Gambrel Avenue, Whitchurch was sentenced to two years in prison for possession with intent to supply.
In February last year, as part of a County Lines investigation, Jones was stopped and searched by police and found to be in possession of cocaine.
A search of his mobile phone revealed messages consistent with drug dealing.
Jones pleaded guilty to the offence on January 10 at Telford Magistrates' Court.
A spokesperson from West Mercia Police said: "Whitchurch Safer Neighbourhood team and our colleagues in Merseyside Police carried out a joint operation, OP Medusa in February 2022.
"Operation Medusa was our response to disrupt Merseyside-based county lines operating within Shropshire. During this operation, Jones was stopped and searched and found to be in possession of a quantity of cocaine.
"Following the investigation a search of his mobile phone by officers was carried out and messages were found which were consistent with drug dealing."