WASHINGTON (AP) — A Maryland man arrested after scaling a White House fence last year has pleaded guilty in connection with the case.

Dominic Adesanya of Bel Air, Maryland, pleaded guilty Friday in federal court to a charge of entering or remaining in a restricted building or grounds.

READ MORE: Dundalk High School Teacher Charged With Assaulting 2 Students

The plea agreement calls for Adesanya, who was arrested Oct. 22, to complete one year of supervised release. Sentencing was set for July 2.

READ MORE: Baltimore Homeowner Blasts City, Courts As Investment Property Turns Into 'Nightmare' After Fire, Murder, Squatters

Adesanya’s attorney, Jonathan Jeffress, says his client was suffering from schizophrenia but is now doing well.

Adesanya is still being held in two other cases. He has a previous unlawful entry charge at the White House on July 27 and allegedly assaulted police officers while trying to enter the U.S. Treasury building July 30.

MORE NEWS: Ocean City Designates Special Event Zone For Car Show

(Copyright 2015 by The Associated Press. All Rights Reserved.)