abstract: The Minkowski space R{2,1} is the Lorentzian analogue of the Euclidean space R3; the anti-de Sitter space AdS3 is the Lorentzian analogue of the hyperbolic space H3. I will survey some recent results on the geometry and topology of their quotients by discrete groups, with strong links with two-dimensional hyperbolic geometry. In particular, I will explain how the quotients of R{2,1} by free groups (Margulis spacetimes) are « infinitesimal versions » of quotients of AdS3. This is joint work with J. Danciger and F. Guéritaud.