In the comics, Vision was created by Ultron to defeat the Avengers, but later betrayed his creator and became a member of the team. Joss Whedon reveals that the Vision will indeed be created by Ultron saying he's a "synthetic, super-powered human designed by Ultron to show that he, too, has the power to create life".

Vision (All Volumes)