Not sure where you're located but it looks to be a black rat snake. They're pretty common in most parts of the U.S. I'm definitely not an expert, though.

I hope you let him go back out into the wild if they're native there.