In making her ruling, Common Pleas Judge Maria Musti Cook said it’s clear from an expert report that Eduardo Portell-Llanos does not seem to have a “thorough understanding” of the charges he’s facing — or the seriousness of the court proceedings. The report was put under seal.

Portell-Llanos, 23, of York, is charged with two counts of attempted criminal homicide and related offenses.

On May 6, police said he chased his brother, broke into a random home in Conewago Township and then fired shots at officer Isaiah Emenheiser.Portell-Llanos, police said, told officers at the hospital that he was angry — and thought he’d shot at his brother.

Senior Deputy Prosecutor Duane Ramseur said during the hearing that the state did not object to the defense’s request about Portell-Llanos’ competency.

Toward the end, Chief Deputy Public Defender Erin Thompson, who’s representing Portell-Llanos, noted that it’s been taking people who have been ruled to be not competent months to get from York County to Torrance State Hospital. He will be sent there as soon as a bed becomes available.

A hearing to get an update on the status of the case is set for June 2.