Editor’s note: Police previously described the victim as 2-years-old, but clarified Monday that she was 1. She died on Oct. 5, one day before what would have been her second birthday. Additionally, officials previously gave the father’s age as 38. They clarified Monday that he is 33. The story below has been updated to reflect this new information.

BROOKLYN (PIX11) — A Brooklyn dad is accused of killing his 1-year-old daughter when he allegedly hit her in the back of the head with his fist, authorities said.

Robert Wright, 33, was arrested Friday and charged with manslaughter, criminally negligent homicide, assault, and endangering the welfare of a child, according to the criminal complaint.

Wright admitted to hitting his daughter, Aniyah Wyhatt-Wright, in a home on Osborn Street in Brooklyn on Tuesday at around 10:30 a.m., prosecutors said. She died in a hospital on Wednesday, the day before what would have been her second birthday. Authorities said an autopsy confirmed that Wyhatt-Wright died from a traumatic brain injury.

Wright was arraigned Saturday and bail was set at a $1 million bond or $100,000 cash, according to public court records. He is due back in court on Thursday.

Wright’s attorney, David Jeffries, declined to comment.