JACKSON (CBS13) — An owl that had been illegally kept as a pet has been released back into the wild.

The California Department of Fish and Wildlife said the owl was found back during the execution of a warrant across several locations in San Joaquin County back in March.

READ MORE: Citrus Heights Police Investigating Saturday Night Homicide

The owl while being rehabilitated. (Credit: California Department of Fish and Wildlife)

While the investigation was focused on allegations of drug, weapons trafficking and vehicle theft, authorities made a peculiar discovery at one of the locations – a great horned owl being unlawfully held as a pet.

READ MORE: Pedestrian Dies After Being Hit By Car In Sacramento

Badly decaying raptor carcasses were found with the owl. A warden responded and safely seized the bird, which was eventually transported to the Tri County Wildlife Care rehab facility.

On Tuesday, after being rehabilitated for several weeks at the facility, the owl was released back into the wild.

MORE NEWS: Fawn Fire Grows To 8,537 Acres, 35% Containment

Charges of possession of a restricted species and suspected illegal take of raptor species have been forwarded to prosecutors to add to the crimes already being investigated in the search warrants, authorities say.