Each man infiltrates his respective organization, and Sullivan begins a romance with police psychiatrist Madolyn Madden (Vera Farmiga). Costigan is seeing her under the terms of his probation, and they begin a relationship, too. After Costello escapes a sting operation, each mole becomes aware of the other's existence. Sullivan is told to find the "rat" and asks Costello for information to identify the informer.