Has there ever been a case, where a language changed families?

For example it was slavic 1000 years ago, but today it's germanic