A swineherd /ˈswaɪnhɜːrd/ is a person who looks after pigs. The term has fallen out of popular use in favour of pig farmer.