PORTLAND — The man charged with an attempted murder Sunday night in Gray is scheduled to make his first appearance in court on Wednesday.

Police say Jon Brown, 52, beat, tied up and shot Harold Small around 11:20 p.m. Sunday at Small’s home.

Brown was taken into custody about 7 p.m. Monday at a rental cabin along Roosevelt Trail in Windham. He was captured by the Maine State Police Tactical Team, which surrounded the cabin. Brown is being held without bail at the Cumberland County Jail.

Despite a gunshot wound to the eye, Small was able to free himself, call police and identify Brown as the perpetrator, authorities said. He underwent emergency surgery on Monday at Central Maine Medical Center in Lewiston. The hospital could not confirm that Small was a patient, and his condition was not available this afternoon.

Brown faces charges of attempted murder, elevated aggravated assault, and robbery. His criminal record includes a prior conviction for attempted murder in Portland in 1982.