Kevin McKidd, who plays Dr. Owen Hunt on the hit show Grey’s Anatomy, is officially divorced from his wife, Jane Parker, of almost 17 years of marriage.

According to E News, the couple announced that they were planning on divorcing in July 2016.

McKidd and Parker have 2 children together, Joseph 17, and Iona 15, which they will share custody off.

Under the divorce terms, Mckidd will pay his ex $22,440 in monthly child support, pay for the kids private school and summer camp, as well as pay her $65,096 a month in spousal support.

In addition, Mckidd will pay $12,147 a month in spousal support for four years after the kids turn 18.