Why did Jimi Hendrix go to jail?

"Jimi Hendrix was arrested at Toronto International Airport airport in May 1969 after customs inspectors found heroin and hashish in his luggage. Hendrix, who claimed the drugs were slipped into his bag by a fan without his knowledge, was later acquitted of the charges."