EC 9-3.

After a lawyer leaves judicial office or other public employment, he should not accept employment in connection with any matter in which he had substantial responsibility prior to his leaving, since to accept employment would give the appearance of impropriety even if none exists.