A woman has been charged in the death of a prominent Florida State University law professor who was mysteriously killed two years ago.

Katherine Magbanua, 31, allegedly helped facilitate the murder-for-hire plot that left Daniel Markel dead in July 2014. She has been charged with first-degree murder.

Magbanua was dating Markel's former brother-in-law when the nationally-renowned criminal justice scholar was found dead with two gunshots to the head in his garage.

Detectives believe Magbanua is the link between Markel's ex-wife, Wendi Adelson, and the two men accused of killing him.

Scroll down for video

Katherine Magbanua, 31, has been charged with first-degree murder in the death of prominent FSU law professor Daniel Markel, 41, was found shot dead in his driveway two years ago

Detectives believe that the close-knit family of Markel's ex-wife plotted to have him killed after a judge refused to let her move their two children to South Florida and away from their father

Video courtesy of WCTV:

Magbanua was not only in a romantic relationship with Charlie Adelson. She also had two children with Sigfredo Garcia, one of the alleged hit men who killed Markel.

Tallahassee police have long alleged that the motive for the murder was the bitter divorce between Markel and Adelson.

Adelson's family were desperate to have their daughter and the couple's two children move closer to them in south Florida, but Markel had successfully fought his ex-wife's attempt to relocate with the children.

Police arrested Sigfredo Garcia and Luis Rivera, two south Florida men with criminal histories, and charged them in Markel's murder in May.

Rivera pleaded guilty to second-degree murder in October and was sentenced to 19 years in prison, which will run concurrently with a 12-year federal sentence he is already serving.

The plea deal will require Rivera to testify against both Magbanua and Garcia, who allegedly was the gunman that killed Markel. Garcia will stand trial in January.

Prosecutor Georgia Cappleman said Rivera provided the gun and drove the men away from the crime scene, according to the Tallahassee Democrat.

Rivera provided a statement regarding Magbanua's involvement in the alleged murder-for-hire plot, claiming she delivered money the day after Markel was killed.

Cappleman said she would not have been able to move forward with charges against Magbanua if Rivera had not cooperated. Magbanua will not testify.

Magbanua was dating Markel's former brother-in-law Charles Adelson (right) at the time of his death. Sigfredo Garcia (left), one of the alleged hit men, is the father of her two children

An affidavit for Magbanua's arrest alleges she had deposited over $50,000 in cash into her bank account in the 16 months after the murder.

Earlier this month, video footage was aired showing an undercover agent who posed as Rivera's brother confronting Markel's former mother-in-law, Donna Adelson as part of a sting operation.

Louis Rivera pleaded guilty to second-degree murder in Markel's death and agreed to testify against Magbanua

The agent approached Donna on the street and said that his brother was in need of money, and asked her for $5,000 to help out the man.

'I wanted to let you know that my brother… he helped your family with this problem your family had up north,' the man tells Donna.

'He’s going through some rough times and I want to make sure that you take care of what he’s going through.'

Donna appears shocked and taken aback in video of the interaction which was revealed for the first time ever on 20/20, but not as shocked as authorities were after they saw what happened next.

Soon after Donna met the agent claiming to be Rivera's brother, her son Charlie called his then-girlfriend Magbanua, according to police documents.

'You better kill him, because he’s going to be a big problem,' he allegedly told her. 'If you can't do it, I'll have someone else do it.'

Magbanua also reached out to Garcia after the sting, according to police.

Earlier in September, police released probable cause affidavits that revealed Garcia called Magbanua an astonishing 2,700 times in the three months before Markel's murder.

There were also a number of phones calls on July 1, 2014, 17 days before Markel was killed, between Adelson, Magbanua, Garcia and a phone registered to Harvey Adelson, Markel's former father-in-law, the affidavit states.

A number of phone calls also occured between midnight and 1am among Adelson, his mother Donna, Magbanua and Garcia on July 18, the day Markel was murdered.

The probable cause affidavit also reveals that in the days and months after the murder Garcia purchased a new car and motorcycle, according to WCTV.

Records show Rivera also purchased a motorcycle within 10 days of the murder.

Meanwhile, Magbanua began receiving checks from Adelson and his father's dental practice, the Adelson Institute, from September 2014 to January 2016.

Wendi Adelson (pictured) and her family have continued to maintain their innocence in Markel's death. None of them have yet to be arrested in connection with his murder

In the year prior to Markel's murder, Magbanua was making cash deposits that totaled $15,000.

In the months after the murder she was making deposits totaling $44,000, the affidavit states.

The affidavit also revealed that one of Wendi Adelson's ex-boyfriends told police she had revealed her brother was looking into hiring a hitman that would cost $15,000.

Wendi Adelson and several of her family members said in a statement earlier this month that speculation they had a role in Markel's murder is 'categorically false'.

'To be clear, none of the Adelsons - Wendi, her brother Charlie, or their parents Donna and Harvey - had anything to do with Dan's murder,' said David Markus, the attorney who represents Charlie Adelson, in a statement.

The family has been subjected to an intense investigation over the past two years - including FBI involvement - that went over phone and computer records, emails, financial documents and text messages, the Adelson statement said.

'There is a reason that the police have not arrested any of the Adelsons - they weren't involved in Dan's death,' the statement said.

A Tallahassee Police Department affidavit said Markel's death was the result of the 2013 contentious divorce from Wendi, a lawyer who now lives in Miami Beach and works for a federal judge.

Authorities say Garcia and Rivera traveled from South Florida to Tallahassee in a light green Toyota Prius to kill Markel.

Multiple surveillance videos captured the Prius following Markel as he dropped his sons off at daycare before going to the gym, according to the Miami Herald.

Markel then returned home and was sitting in his car and talking on the phone, the keys still in the ignition, when he was shot dead.

Police say a light-colored Prius was tailing Markel the day he was killed, from the time he dropped his children off at daycare until he left the gym and returned home

A neighbor called police after hearing a gunshot and seeing the Prius back out of the driveway.

The first person Garcia called after the murder, police say, was Magbanua.

Markel and Adelson wed in 2006 and separated six years later.

The professor reportedly returned home from a business trip to find that his wife and children were gone, most of his house was empty, and divorce papers were laying on his bed.

Wendi and Markel's custody battle turned ugly as her parents became desperate to move the couple's children closer to the Adelson family in South Florida.

Markel asked a judge to stop Donna Adelson from having unsupervised contact with his sons, claiming she had been telling them disparaging remarks about him.

A judge refused to allow Wendi to move her sons to South Florida in June 2013.

It states that the family then discussed paying Markel $1million to allow the children to relocate, according to a probable cause affidavit for Charles Adelson.

Wendi Adelson has since changed her children's last names, telling investigators she wanted to protect them.

Cappleman said Magbanua could lead to more arrests in the case in the future, but for now prosecutors are not planning to charge the Adelsons.

'It's hard to present the case without mentioning the Adelson family,' she said.

'But, as I said, we are not asking the grand jury to review the case for any indictments against any Adelsons today.'