Rigidity theorems for foliations by surfaces and spin manifolds.