CHEYENNE WELLS, Colo. – One man was in custody as of 4:45 p.m. after a nearly eight-hour standoff with the Cheyenne County Sheriff's Office and other agencies in Cheyenne Wells, law enforcement officials said Wednesday afternoon.

The Cheyenne County Sheriff’s Office issued a code red alert to people in Cheyenne Wells Wednesday morning and told them to stay indoors until further notice. The situation was ongoing as of 4 p.m.

U.S. Highway 385 and U.S. Highway 40 were closed in both directions for much of the day in the area just outside of Cheyenne Wells, which is just west of the Kansas border and approximately 130 miles east of Colorado Springs.

“For those of you in CW who received the code red to stay in doors, PLEASE STAY IN DOORS UNTIL FURTHER NOTICE,” the sheriff’s office wrote on Facebook Wednesday morning.

The office was called about 6:30 a.m. Wednesday by a person who said a person had fired into a home. Just before 8:45 a.m., the county sheriff encountered the suspect who fired at least one shot, the sheriff's office said. The suspect went inside a home and has not left. The initial code red alert was sent out at 8:54 a.m.

The sheriff said in a Facebook post just after 1:30 p.m. that deputies were "working on an active incident" and said there were "no fatalities associated with this incident at this time" but said no further information was available.

Around 4:45 p.m., law enforcement officials told Denver7 one person had been taken into custody and the situation was over.

The Cheyenne County Sheriff's Office said officers and deputies entered the man's home around 4:30 p.m. and found him unresponsive but alive. The sheriff's office said he did not appear to have injuries.