The unnamed woman faces up to six years for the potentially fatal attack in Russia.
State prosecutor Airat Bikmurzin told the court in Nizhenkamsk the man, known as Shakur, only survived because he managed to get away.
“The accused woman failed to fulfil her criminal intention due to circumstances she could hardly influence – the victim managed to escape from the crime scene and found medical help in time”, Mr Bikmurzin said.
Mr Bikmurzin added the man needed three weeks treatment in hospital for stab wounds all over his body.
“Using the knife as a weapon, she stabbed the victim at least 13 times,” he told the court.
He demanded a custodial sentence of up to six years for intentionally causing harm to the man and threatening his life.
She pleaded guilty to the stabbing incident but denied she had intended to “kill” her boyfriend and said she was “drunk” at the time.
It was not clear what the dispute was about.
As she stood and faced the judge, the man proposed to her in court, according to a report from NTR-24 TV.
He appealed to the judge for leniency and said they intended to arrange the date of their wedding.
The Russian judge postponed a decision on sentencing until a future hearing, according to reports.
Stay up to date with the latest news with Yahoo7’s daily newsletter. Sign up here.