Deputies in Georgia arrested an alleged registered sex offender who was found hiding underneath a mattress at a family member's apartment.

The arrest happened on Jan. 20 when deputies were at an apartment complex in Marietta serving an unrelated temporary protective order and remembered that a wanted registered sex offender, Dameon Alexander, was nearby, according to the Cobb County Sheriff's Office.

Officials said that Alexander was wanted for failure to register as a sex offender.

When deputies knocked on the door of the apartment that Alexander was believed to be in and made contact with those inside, the "apartment went silent," the officials said.

GEORGIA POLICE CHIEF ANNOUNCES RETIREMENT DAYS AFTER YOUNG COP RESIGNS OVER RELIGIOUS POST ABOUT GAY MARRIAGE

Georgia mattress

Deputies in Georgia arrested an alleged registered sex offender that was found hiding underneath a mattress at a family members apartment. (Cobb County Sheriff's Office)

One deputy standing at a different side of the apartment was "able to see Alexander laying on the bed through a small opening in the window," according to the sheriff's office, giving deputies the indication that he was inside.

MEDICAL EXAMINER IN GEORGIA RULES INMATE DEATH HOMICIDE, RELEASES VIDEO AND CAUSE

Georgia arrest

The arrest happened on Jan. 20 when deputies were at an apartment complex in Marietta serving an unrelated temporary protective order and remembered that a wanted registered sex offender, Dameon Alexander, was nearby, according to the Cobb County Sheriff's Office. (Cobb County Sheriff's Office)

When deputies eventually entered the apartment, Alexander could be seen on body camera video hiding underneath a mattress.

CLICK HERE TO GET THE FOX NEWS APP

Georgia deputies arrest

Officials said that Alexander was wanted for failure to register as a sex offender. (Cobb County Sheriff's Office)

He was taken into custody and charged with a probation violation and is being held without bond, according to jail records.