A lost bet on a Dallas Cowboys game prompted a registered sex offender to open fire in a fit of rage that ultimately landed him in jail, police say.

Aubrey Graham is being held in lieu of $101,000 bail.

Aubrey Graham, 29, was arrested Sunday, accused of unlawful possession of a firearm by a felon, after police received a call that he was shooting a gun into the air outside a Red Bird-area apartment, court records show.

Police say Graham became angry after he lost $800 betting against the Cowboys, so he went outside his girlfriend's apartment and fired a small gun into the air before fleeing in his pickup.

Graham returned shortly after police arrived, an arrest warrant affidavit says. The officer ordered him to get out of the pickup after spotting a pistol-grip shotgun behind the driver's seat.

When questioned, Graham tried to give officers a false name by using his middle name as an alias, police said.

Graham was arrested on an active felony warrant accusing him of violating probation for a 2010 indecency with a child conviction. He is also charged with felony unlawful possession of a firearm by a felon, and a misdemeanor count of failing to identify as a fugitive.

Police said they did not charge Graham with discharging a weapon because the small pistol that was shot into the air was not recovered, and no casings were found at the scene.

Witnesses told police that a woman took the small gun from Graham after he fired it into the air, according to the affidavit.

Graham remains in the Dallas County Jail with bail set at $101,000.