SDM Ankit Tiwari said the forest department took custody of the crocodile and released it safely in a suitable habitat.