 Moffat's first television work was the teen drama series Press Gang. His first sitcom, Joking Apart, was inspired by the breakdown of his first marriage; conversely, his later sitcom Coupling was based upon the development of his relationship with television producer Sue Vertue. In between the two relationship-centred shows, he wrote Chalk, a sitcom set in a comprehensive school inspired by his own experience as an English teacher.
