Michelina Lewandowska, 27, was shot with a 300,000-volt Taser by Marcin Kasprzak, 25, who, a court heard, was allegedly bored with her and thought she was not pretty enough.

Lewandowska was apparently shot with the Taser at her home in Huddersfield,  West Yorkshire, in May this year. She was then bound and gagged with parcel tape and put in a box with two small air holes, the jury heard.

Kasprzak and a friend, Patryk Borys, 18, buried the box in woodland on a hill near Huddersfield, using shovels to pile soil on top of the box. The pair then put a six-stone tree branch on top of the soil, Leeds Crown Court heard.

The alleged criminals then drove to a supermarket cash machine and used the victim’s bank cards to withdraw £500 of her money, it was claimed.

Over the next hour, Lewandowska managed to escape the box “with great difficulty”, prosecutor Jonathan Sharp told the court. She then made her way to a nearby road and flagged down a passing motorist.

Lewandowska and Kasprzak met six years ago in their native Poland before moving to England, where they lived in Huddersfield with their three-year-old son, Jakub.

However, the court heard that Kasprzak grew “bored” with his partner and wanted to get rid of her so that he could have their son to himself and pursue a relationship with another girlfriend.

The box that Lewandowska was allegedly forced into was just 22 inches deep and had contained a computer.

The prosecution told the jury that by the time the men had finished burying their victim, the air holes in the cardboard box were obscured by earth.

“When they put Michelina … in a shallow grave and put earth around and on top of her, they intended to kill her,” prosecutor Sharp said.

“But by great good fortune, they failed to kill her.

“To bury somebody alive has very well-known consequences. After a very short time that person will die from lack of oxygen.

“The Crown says it is plain not just that Kasprzak and Borys knew that, but they intended her to die from lack of oxygen.”

It is expected that the men will not deny their involvement, but will claim they did not intend to kill their victim.

Kasprzak and Borys denied attempted murder in May this year.