At 2pm on Thursday (September 30), police "acted on information" about a vehicle heading into North Yorkshire.
Officers from the North Yorkshire Police roads policing group and other specialist departments headed towards the area and the vehicle was safely brought to a stop on the southbound carriageway of the A1 just before Wetherby, police said.
Whilst searching the vehicle, a large quantity of suspected cannabis was found inside.
Paedophile arrested at Leeds Bradford Airport after travelling from Ireland to meet ‘13-year-old girl’
Met Office issues thunderstorms and torrential rain weather warning for Leeds as heatwave comes to abrupt end
Developers admit planning breaches in construction of Leeds retirement flats
Aasia Majeed: Police launch urgent appeal to trace Leeds mum missing with one-year-old child
Andre Rieu, Europe's Strongest Man and Magic Mike Leeds Arena shows could be at risk if city wins Eurovision bid
A man in his 30s from Leeds and man in his 40s of no fixed address were arrested.
Further detailed searches were carried out at an address in West Yorkshire.
They appeared before magistrates in Harrogate on Friday, police said.
North Yorkshire Police said: "We are really pleased with the result from a vehicle stop on the A1 yesterday.
"A large amount of drugs has resulted in two men appearing in court within 24 hours of being arrested."