Starting from appropriately.substituted monocyclic β-lactam, N-phosphorylated mono- and bicyclic β-lactams have been synthesized.