A man didn’t hesitate to jump into a canal in Sarasota County to rescue his dog from an alligator on Friday.

An officer with Florida Fish and Wildlife Conservation Commission (FWC) said that the man was inside his house and his chocolate lab outside, when he heard a commotion coming from the canal behind his home.

The man rushed outside to find his dog in the canal with an alligator. Without pausing, the man jumped into the canal and pried open the gator’s jaws to rescue his dog, pulling the dog to safety.

Both the man and the dog were injured, but FWC says their injuries are minor and both are going to be OK. The man took his dog to a veterinarian to be checked out.

FWC caught the alligator about 11 a.m. ET on Saturday, and it was 9 feet and 9 inches long.