Williams also told authorities he threw the gun in a creek, according to the warrant. Officials later found the weapon.
Police found and detained Williams, who remains in the DeKalb County jail without bond.
No one else was in the apartment at the time, but detectives said a roommate arrived after they were already on the scene.
In other news:
Couple Facing Charges After Allegedly Putting Infant In Microwave