Steve Wozniak spent a night in jail for making a fake bomb in high school

After the uproar surrounding the recent episode that saw Ahmed Mohamed, a young teenager, handcuffed for bringing a homemade clock that was mistaken for a bomb to school, major leaders from Obama to Mark Zuckerberg reached out to the boy to congratulate him and ask him to meet.

RELATED: See Steve Wozniak throughout the years in this gallery

10PHOTOS

Steve Wozniak

See Gallery

Steve Wozniak spent a night in jail for making a fake bomb in high school

Portrait of American businessmen and engineers Steve Jobs (left) and Steve Wozniak, co-founders of Apple Computer Inc, at the first West Coast Computer Faire, where the Apple II computer was debuted, in Brooks Hall, San Francisco, California, April 16th or 17th, 1977. (Photo by Tom Munnecke/Getty Images)

Fred Rogers, Right, Creator Of The Famed 'Mister Rogers' Neighborhood' Children's Television Show, Presents His Trademark Sweater To Steve Wozniak, Co-Founder Of Apple Computer, Friday, April 30, 1999, At The Children's Discovery Museum In San Jose, Calif. Rogers Was Awarded The First Ever Legacy For Children Award By The Museum, Of Which Wozniak Is A Major Benefactor, At A Ceremony For 750 Silicon Valley Corporate, Community And Educational Leaders. (Photo By Getty Images)

SAN FRANCISCO - JANUARY 7: Apple co-founder Steve Wozniak speaks during a panel discussion at Macworld January 7, 2003 in San Francisco. Apple announced new 17-inch and 12-inch powerbooks as well as several new software updates. (Photo by Justin Sullivan/Getty Images)

SANTA CLARA, CA - SEPTEMBER 15: Apple Computer co-founder, Steve Wozniak, speaks to the media after donating a check for $10,000 to the Humane Society Silicon Valley on September 15, 2005 in Santa Clara, California. With almost 1,000 displaced dogs and cats set to come into the bay area for temporary shelter, people have been coming forward with cash donations and volunteering time at the shelters around the bay area. (Photo by David Paul Morris/Getty Images)

ANAHEIM, CA - JANUARY 24: Engineer Steve Wozniak attends the 2015 National Association of Music Merchants show at the Anaheim Convention Center on January 24, 2015 in Anaheim, California. (Photo by Jesse Grant/Getty Images for NAMM)

Looking back a few years, a story emerged showing that Ahmed is not the first genius that got a school worried about a homemade device that looked like a bomb. Apple co-founder Steve Wozniak was apparently arrested when he was in high school for pranking the principal with a "ticking" device he placed in a locker.

According to Steve Jobs' biography narrating an anecdote regarding Wozniak, in twelfth grade he built an electronic metronome and after realizing it sounded like a bomb, the teenager decided to make it look like one. Wozniak taped two big batteries to the side of the device and hid the final product in a school's locker. Later that day he was brought to the principal's office, where the police confronted him and had him spend the night in a juvenile detention center.