CORPUS CHRISTI - A 26-year-old felon again is behind bars after an officer said he saw him shoot a rifle early Friday, police said.

Police said the officer heard gunshots about 3 a.m. in the 1400 block of North Alameda Street and was walking the area to investigate, according to a news release. The officer said he saw a man lean out of an apartment window in the 1500 block of Ramirez Street and fire several shots into the air.

The officer went to the apartment and arrested Akeem Olajuwon Edwards on suspicion of discharge of a firearm in a municipality, having a prohibited weapon and unlawful possession of a firearm by a felon, according to the release.

Edwards has previous felony convictions for twice failing to register as a sex offender and possession of a controlled substance, according to the Nueces County District Clerk's website.

Edwards was being held Friday in the Nueces County Jail on $21,000 bail. Police said no one was injured and no property damage was found.