One administrative law judge in the District has been charged with assaulting another at their workplace at Judiciary Square ­during what D.C. police described as a dispute over entry to an office.

Joan Davenport, 63, who lives in Northwest Baltimore, was charged with misdemeanor ­simple assault on Sharon Goodie. She has been freed pending a hearing, set for May 17, in D.C. Superior Court.

The March 31 incident was reported at Davenport’s office across the street from D.C. police headquarters and next to the D.C. Court of Appeals building on Fourth Street NW.

An arrest affidavit filed in court says Goodie told police that she knocked twice on ­Davenport’s door to deliver files but got no answer. She told police that the door opened and “the defendant lunged” at her and aimed for her neck.

Goodie said that she “evaded the lunge,” ­according to police, but that Davenport struck her with a shoulder, making her fall ­“backwards with her arms ­flailing,” and that she “landed in a squat position against the wall in the hallway.”

In a written statement that police said was provided to them, Davenport said she was speaking to a witness in a case when there was banging at her door.

“The defendant did not open the door and did not ask the person that was knocking to enter, however the banging ­continued,” a police affidavit says. Then, according to police, Davenport said in the statement that her colleague “stomped in” with case files.

According to police, Davenport said in the statement that her colleague had not been invited into her office nor did she have the right to open the door. ­Davenport reportedly said Goodie threw down the files, backed up and started to yell that she was being attacked.

A witness who was holding Davenport’s arm told her, “Joan, it’s not worth it,” police said in the affidavit. An attorney for Davenport could not be reached for comment on Tuesday. Attempts Tuesday night to reach Davenport by telephone and email were not successful.

Both judges work for the D.C. Office of Administrative ­Hearings. Davenport presides over cases involving public ­benefits, rehabilitation services and ­public works, according to the ­agency’s website, which ­contains her biography.

Goodie presides over unemployment compensation cases and disputes over rental ­housing.