(CNN) A 9-year-old boy has been charged with attempted murder in the first degree after he allegedly stabbed his 5-year-old sister with a kitchen knife in an apartment, according to the Ocala Police Department in Florida.

At his initial court appearance in Marion County on Tuesday, a judge ordered the boy to undergo psychiatric evaluation, video from CNN affiliate WESH showed.

He was also assigned a public defender and will remain in secured detention, CNN affiliate WKMG reported. CNN reached out to the Marion County Public Defender's office but has not yet heard back. His next court appearance is scheduled for February 5.

CNN is not naming the child because of his age.

The mother of the children told police that she left the apartment for about 10 minutes on Monday to check the mail and get some candy for her children from a neighbor in the Berkeley Pointe Apartments complex, according to the arrest affidavit. When she returned to check on them, she found her son stabbing her daughter in his room, the affidavit said.

Read More