In June, 14 year old Alyssa Wiles was found dead in her home.
Police say Wiles' father found her body in a pool of blood when he returned home from work.
Her former boyfriend, Michael Anthony Ray, is charged as an adult for first degree murder for stabbing her to death.
Police say he confessed to the murder and said he was angry she had broken off their relationship the day before.
Alyssa's mom Angela Wiles says the trial which was set to start with jury selection this week would have been very painful to deal with.
Wiles was in court this morning for a hearing over ray's status as an adult, his attorney has been attempting to reverse the court's decision to try ray as an adult instead of a juvenile, and filed a motion claiming the state's law allowing 15 and 16 year olds to be tried as adults is unconstitutional.
But after that motion was again denied Monday morning, Alyssa's parents were advised to stay close to the courthouse, because a change in Ray's plea could be coming.
And that is what happened later in the morning, when Ray admitted to the crime and went through all the details in the courtroom.
Wiles says she finds comfort knowing the Duncan Police Department did a thorough job with the investigation because everything Ray said was exactly what police had said happened.
And although they are happy the case is over, the pain of losing their daughter will never be over.
“There's frustrations that we even have to go through this process, you know? You're happy that he's doing the right thing and he's pleaded guilty but you're still upset that we are having to go through this at all,” says Wiles.
Ray's attorney Jim Berry says his sentencing will be on March 5th.
He faces life in prison or life in prison without the possibility of parole.
His plea is what is called a blind plea, not a plea bargain, meaning he was given no promise when pleading guilty.
Next month another boy will also face sentencing for accessory to murder for being present when Alyssa was killed.
That unnamed 14 year old is being prosecuted as a juvenile and his hearing takes place on January 13th.
Copyright 2016 Nexstar Broadcasting, Inc. All rights reserved. This material may not be published, broadcast, rewritten, or redistributed.