The 41-year-old, who has worked in films like 'The Game Plan' ,'Race to Witch Mountain' and 'Fast & Furious 6', posted a photo on Twitter showing his meeting with inmates along with an inspirational message for them, reported Contactmusic.
"I was arrested multiple times as a teen (fighting-stupid). Said if I can make it, so can you. Stay strong," he posted. Johnson tried to inspire the inmates by sharing his experience of how he kept himself strong during his days in prison, and worked towards his success.
The actor, also known as The Rock, previously said, "I got in trouble a lot when I was younger. By the time I was 16, I had been arrested eight or nine times for a variety of things, terrible things that I shouldn't have been doing. Much later in life, once I got out of college, I started to understand the power of seeing your potential and what that means."
Pics: Prabhas, Tamannaah Bhatia at 'Baahubali 2' first look launch at MAMI
'Ae Dil Hai Mushkil' photos: Aishwarya, Anushka, Karan get candid at MAMI
Photos: Huma Qureshi, Neha Dhupia and other celebs at MAMI
Photos: Amy Jackson, Daisy Shah at Mumbai airport
Photos: Sridevi, Irrfan and other celebs at 'Mughal-e-Azam' screening