How did Romanian become a romance language?

by Saberen

Looking at Romania's geographical location you would think it would be a slavic language but even though it's separated from other romance language countries and surrounded by slavic countries how did it stay a romance language without bordering influences completely altering the language?

Searocksandtrees