The man who allegedly shot a Brigham Young University police officer in May could soon enter into a plea agreement in that case, but his legal troubles will still be far from over.

Carl Douglas Consolvo, 38, of Virginia, appeared in 4th District Court Friday. Judge Ray M. Harding Sr. ordered Consolvo to return for a waiver hearing July 23.The public defense attorney representing Consolvo said he expects his client to enter into a plea agreement at that time. He did not say what the agreement would be. Consolvo is charged with attempted aggravated murder, a first-degree felony, in connection with the shooting of BYU police Sgt. David Adams on May 20 in Provo.

Consolvo, who also is suspected of robbing three Utah County banks the same day, was captured in Henderson, Nev., and booked into the Utah County Jail in June.

Even if Consolvo pleads to a reduced charge in 4th District Court, he won't be leaving police custody for a while. Authorities expect to then proceed with federal bank robbery charges for the Utah incidents. Consolvo also could face charges ranging from aggravated assault to car-jacking in several other states for incidents that took place during a crime spree that began in January.