Catalan is most closely related to the Occitan language of southern France and to Spanish, but it is clearly distinct from both.