To obtain a Pig Knight, you can evolve from Tepig at level 17 or catch one in the wild.