The Spanish language was originally the language of Castile. When the Western Roman Empire collapsed, Latin changed in different ways in different provinces. The Latin spoken in the Iberian Peninsula developed into the Ibero-Romance language in the 6th century. Castilian and Portuguese became separate languages around the 12th century.