A crafty prosecutor spent five months planning an elaborate fake trial - to pop the question to his attorney girlfriend.

Brandon Dinetz and Jen Lettman, both 28, met while working together as attorneys in 2016 and their professional relationship quickly blossomed into romance.

When Dinetz, of Palm Beach, Florida, decided to propose he knew he would have to work hard to catch his astute girlfriend by surprise. He then spent five months planning an imaginary DUI trial in the Palm Beach County Courthouse and told Lettman it was important that she saw his opening statement.

TIM TEBOW REVEALS HIS ELABORATE PROPOSAL TO FORMER MISS UNIVERSE: 'SHE'S MY UNIVERSE'

The romantic even roped in a judge, a defense attorney, a fictional defendant and 17 of Lettman’s family and friends to act as the fake jury.

Unsuspecting Lettman began to cry when Dinetz addressed the room with a specially tailored statement of his love for her.

"He and I had always talked about getting married and we knew we were going to be together but I didn’t think we would get married any time soon. When we worked together we would regularly watch each other’s opening statements and critique each other, so it wasn't unusual for me to be in the courtroom with him,” the bride to be said.

"I didn’t know the facts about the DUI trial he made up, and I didn’t really ask. I wasn’t really paying attention until I recognized that one of the jurors looked like Brandon’s dad, which I thought was funny,” she added.

"Then I saw my dad and I was so confused. When I saw my sister I knew what was happening and I started crying,” she dished. "Of course I said 'Yes'.

"I ugly-cried throughout the whole thing. I don’t remember a lot, but luckily it was caught on camera."

FOLLOW US ON FACEBOOK FOR MORE FOX LIFESTYLE NEWS

Dinetz added: "The judge came out and as usual she asked if the state and the defense were ready to proceed and we said 'Yes we are'. Then she said, ‘Bring in the Jury’.

"All of our friends and family started to come in and I think when Jen saw her sister and my dad she immediately knew,” he revealed. “My back was to her but I could hear her start to cry. When she said ‘yes’ there was a huge cheer from the jury.”

"The judge said, 'Mr. Dinetz you have been sentenced to life'. Everyone laughed,” the future groom added.

Dinetz said huge concern was whether his now-fiancée would be too busy at work and cancel her appearance at the carefully planned trial.

"I was worried that Jen would be delayed or have to cancel. That was the only thing that made me nervous,” he divulged. "I wasn’t nervous about her answer, or the speech."

"I’ve recently started a new job so I’m still learning the ropes and I had a ton of work to do. But I knew it was important to Brandon,” Lettman said. "When I give someone my word that I’ll be somewhere I stick to it, so I knew I had to go.”

CLICK HERE TO GET THE FOX NEWS APP

Dinetz proposed to Lettman with a custom-designed ring, embedded with a diamond from her grandmother’s engagement ring. The future bride said was caught completely off guard.

"It was the biggest surprise ever. It’s in his nature to make a grand gesture but this time he went above and beyond,” she said of her beau. “He’s such a caring and thoughtful person.”

"With Brandon I am laughing every single day. He cares so much about other people and when you have someone who cares for you so deeply it’s very special,” Lettman said.

"We’re just enjoying our engagement for now. We haven’t talked about whether it will be a little court house wedding or a big party. It sounds really cheesy but we’re just happy to be together,” she added.

"Jen’s the warmest, most loving, and beautiful person inside and out,” Dinetz said of his special love for a lifetime. "The proposal was exactly as I hoped it would be."

This story was originally published by SWNS.