Hawaii Five-0‘s chief medical examiner is hanging up his lab coat.

Masi Oka, who’s been a regular on the CBS procedural since Season 2, is leaving the show. (Entertainment Weekly first broke the news.) The Heroes alum plays examiner Dr. Max Bergman, who uses his medical expertise to help McGarrett (Alex O’Loughlin) and Danny (Scott Caan) solve crimes. Oka debuted on the show in Season 1, then joined the cast full-time the following season.

Oka says he thinks Max’s story is pretty much finished. “I just thought the character went through a major journey,” he tells EW. “Character-wise, I felt like Max had done too much of everything he can do.” He also cites the commute — he works in Los Angeles and Japan; the show shoots in Hawaii — as a factor in his departure: “I’m probably the only one who really commutes to Hawaii, maybe 18 times a year, round-trip.”

Oka’s final episode will be the 13th of the current Season 7, set to air next year, with Max moving to Africa with his new wife Sabrina (Rumer Willis).

Calling all Five-0 fans: Will you miss Max? Hit the comments and share your favorite Max moments.