A man had to go to the hospital after he accidentally shot himself, according to Madison police.

Officers responded to 5100 Whitcomb Drive around 2:17 p.m. Sunday.

Police said the 59-year-old Madison resident shot himself when he was manipulating the handgun.

He is being treated at an area hospital for his injury.