OAKLAND — A 7-year-old boy was shot in the hand Sunday morning at an East Oakland homeless camp and his father was later arrested, authorities said Monday.

The boy was treated and released from the hospital later Monday, officials said.

Police said Monday the boy’s father was arrested Sunday afternoon on suspicion of felony child endangerment and violating probation.

His name has not been released pending a review of the case by the district attorney’s office.

Police did not provide any new details Monday about the shooting, but initial reports were that the boy was shot accidentally.

The shooting happened in the 2400 block of Embarcadero in a portion of Union Point Park that has become a homeless camp consisting mainly of RVs, authorities said.

Authorities said the boy lives with another relative in another city and was visiting his father, who lives at the camp.

Police learned of the shooting at 10:26 a.m. Sunday when the father brought the boy to the hospital.

Initial reports were that the boy was outside playing with another boy when he was shot, but that account remains under investigation, authorities said.

Police have not said if a gun was recovered.

Check back for updates.