HBO was initially doubtful about including a police drama in its lineup but agreed to produce the pilot episode.[6][7] Simon approached the mayor of Baltimore, telling him that he wanted to give a bleak portrayal of certain aspects of the city; Simon was welcomed to work there again.