Business Insider , was arrested this morning for trespassing in a closed park by Chelsea Piers, according to an email McConlogue sent Business Insider.

Leo was slated to appear on "The Today Show" this Wednesday morning.

In August, we started following the story of Leo, a homeless man in New York City who was approached by 23-year-old Patrick McConlogue with an opportunity; take $100 or learn how to code, a skill that may be able to help him in the future.

Leo took the chance to learn how to program, and for the last two months, he and McConlogue have met every weekday morning for an hour long lesson. After McConlogue leaves for work, Leo spends much of his day reading through JavaScript books and practicing coding functions on the Samsung Chromebook McConlogue provided him. He was working on creating an app.

Please enable Javascript to watch this video WATCH: The Story Of Leo, The Homeless Coder

We were able to talk to Leo and Patrick in an in-depth interview here.

Leo was arrested around 12:30am, according to Officer Carr, an NYPD officer at the 10th Precinct on West 20th street in Manhattan. Carr told Business Insider he arrested Leo because he was sleeping on a park bench after the park had closed to the public.

We also spoke to McConlogue, who was informed of Leo's arrest by another homeless man in the area this morning. McConlogue said he went to the precinct but was unable to retrieve Leo or Leo's personal belongings, including the Samsung computer McConlogue purchased himself. Officer Carr said he was unable to return the computer because McConlogue could not provide a serial number for the device, though he did show Carr a receipt for the computer.

Leo has become somewhat of a hero in the community and beyond. McConlogue started a Facebook group for fans to send supportive and encouraging comments to Leo, who found himself homeless in 2011 when he lost his job at MetLife and could not afford to pay his rent.

The group currently has 32,000 fans.

McConlogue updated the Facebook group this morning with news of Leo's arrest: