It could have been added when installing a different app. Especially if it was a non Google Play app. Just like when you install a "free" application on your pc, it tries to install 1 or more junk applications along with it, hence what makes it free.
Just uninstall it and be aware of everything you install that's not off of the Google Play store.