A United States Park police officer who attempted to defend himself from a raccoon attack accidentally shot himself in the process.

The Washington Post reported that authorities said the officer was attacked around noon Thursday at Rock Creek Park in Washington, D.C.

>> Read more trending stories

The U.S. Park police said in a statement that the officer accidentally shot himself in the foot while attempting to shoot the animal.

WRC-TV reported that, according to authorities, another officer showed up and was able to shoot and kill the raccoon.

U.S. Park police Capt. Phillip Beck told WRC-TV that the officer was taken to a nearby hospital. He had non-life-threatening injuries.

The raccoon was removed by Animal Control.