A Bronx man thought it was a good idea to enter a Dutchess County correctional facility with close to 60 grams of marijuana. Spoiler alert -- he got arrested.

Tyrell A. Livingston, of Bronx, New York was arrested and charged with Criminal Sale of Marijuana, a felony, Promoting Prison Contraband, Criminal Possession of Marijuana, and Unlawful Possession of Marijuana.

On March 6, Livingston brought approximately 59.3 grams of marijuana into Green Haven Correctional Facility with the intent to provide it to an inmate.

The New York State Police were assisted by the New York State Department of Corrections and Community Supervision Office of Special Investigations.

Livingston was arraigned in the Town of Beekman Court and remanded to Dutchess County Jail in lieu of $1,000 cash bail, or $2,000 bond. He is due back in court later this week.