Deedle-Dee Productions and Universal Media Studios produced Parks and Recreation starting with the first season; the production companies Fremulon and 3 Arts Entertainment also became involved with the show starting with the second season. The series was created by Greg Daniels and Michael Schur, who served as executive producers along with Howard Klein. Klein previously worked with Daniels and Schur on The Office, a half-hour NBC comedy Daniels adapted from the British comedy of the same name, created by Ricky Gervais and Stephen Merchant. Schur served as the showrunner of Parks and Recreation, while Amy Poehler and Morgan Sackett worked as producers. Dean Holland, an editor on The Office, also worked as an editor on Parks and Recreation. Mike Scully, a former executive producer and showrunner for The Simpsons, joined Parks and Recreation as a consulting producer starting in the middle of the first season. Allison Jones, who worked as a casting director for The Office, served in the same capacity at the start of Parks and Recreation, along with Nancy Perkins, for whom the character Ann Perkins was named. Dorian Frankel became the casting director starting with the second season. Alan Yang, Harris Wittels, and Katie Dippold, all of whom were Parks and Recreation screenwriters, also worked as executive story editors.

What's the best answer to this question: did the office come before parks and rec?
yes