The superintendent of the Florida school district who was indicted on a perjury charge by a grand jury investigating the 2018 school massacre in Parkland will leave his job under a $740,000 severance package approved by a divided board Tuesday.

Broward County Superintendent Robert Runcie's tenure will end no later than Aug. 10, but it could be sooner if an interim replacement is chosen by the board. If that happens, he will remain as a consultant until August.

The agreement was approved by a 5-4 board vote, with opponents arguing it was too generous. The opponents included Lori Alhadef and Debra Hixon, who were elected to the board after each had family members slain in the Feb. 14, 2018, attack at Marjory Stoneman Douglas High School in Parkland that killed 17 people.

The agreement came a month after Runcie was indicted on a felony perjury charge accusing him of lying to a statewide grand jury investigating events surrounding the shooting. Runcie, who became superintendent in 2011, has pleaded not guilty.

FLORIDA GIRL TRISTYN BAILEY WAS STABBED TO DEATH IN 'COLD-BLOODED MURDER,' SHERIFF SAYS

Students are evacuated by police from Marjory Stoneman Douglas High School in Parkland, Florida, during the shooting that took place there in February 2018. (AP/South Florida Sun-Sentinel)

Students are evacuated by police from Marjory Stoneman Douglas High School in Parkland, Florida, during the shooting that took place there in February 2018. (AP/South Florida Sun-Sentinel)

Runcie supporter Laurie Rich Levinson said she voted for the agreement because "it allows us to move on as a district and focus on students."

Hixon said supporters seemed to be "skirting around" the fact Runcie is leaving voluntarily rather than accept a suspension until his criminal case is resolved.

"That is why we are here," said Hixon, whose husband, athletic director Chris Hixon, died trying to stop the shooter. She wanted Runcie removed by mid-June.

The agreement includes Runcie receiving $145,000 in severance, $112,000 in salary, $230,000 for unused vacation and sick days, $187,000 in payments to his pension plan and $25,000 to pay his lawyer for negotiating his departure.

The board also agreed to pay for Runcie's criminal defense, which the district estimates will cost between $100,000 and $350,000. That cost, which is not included in the severance package total, will be negotiated by the district. Runcie will reimburse the district if he pleads or is found guilty or pleads no contest. He faces up to five years in prison if convicted.

FLORIDA GOV. DESANTIS TOUTS BONUSES FOR POLICEMEN, BEATING LOCKDOWNS AND BANNING 'ZUCKERBUCKS'

Prosecutors contend Runcie lied before the grand jury six weeks ago when they asked him what he knew about the criminal case against his former technology chief, Tony Hunter. The grand jury indicted Hunter earlier this year on charges he rigged a contract for a vendor in exchange for a bribe. Hunter has pleaded not guilty.

Prosecutors say Runcie lied when he repeatedly testified that he had not contacted anyone about the Hunter case and his only knowledge of the contract was from a presentation given years earlier.

In fact, prosecutors said, Runcie had contacted one or more people about the contract just days earlier as he prepared to testify. His attorney has denied the allegation.

Runcie became a public face for Broward’s response to the shooting, both in mourning and then in criticism for their handling of the aftermath.

CLICK HERE TO GET THE FOX NEWS APP

Runcie’s supporters have praised him for increasing the district’s graduation rate, improving schools districtwide and reaching out to minority communities. Opponents criticized him for programs they felt had been lenient toward the shooting suspect, an emotionally disturbed former Stoneman Douglas student.

Runcie, by a 6-3 board vote, survived a 2019 attempt to have him fired. The attempt was led by Alhadef, whose 14-year-old daughter, Alyssa, was killed in the shooting.