The Mindy Project -- "San Francisco Bae" Episode 313 -- Pictured: Adam Pally as Peter.
NBC—NBCU Photo Bank/Getty Images
February 2, 2015 9:32 PM EST

Tuesday’s episode of The Mindy Project will be the last time we get to see the hilarious Dr. Peter Prentice, played by Happy Endings star Adam Pally, as a series regular.

But it won’t be the last we see of the doctor, as he will be popping up to make semi-regular guest appearances on the show, Entertainment Weekly reports.

In an exclusive clip of Tuesday’s half-hour episode, Prentice is conducting an intimate examination on Mindy (Mindy Kaling, The Office) while venting his romantic problems with brain surgeon Lauren (Tracey Wigfield).

Watch the clip at Entertainment Weekly.

The Mindy Project airs on Tuesday at 9:30 p.m. E.T. on Fox.

Write to Helen Regan at helen.regan@timeasia.com.

Read More From TIME

Related Stories

EDIT POST