Mindy Kaling and B.J. Novak met each other in 2005 while writing The Office. They also appeared together in the television series where they dated on again and off again like in their real life. They separated in 2007.