Magpies

I hope someone can help me with this. I live in Bankfoot. I had blackbirds nesting in spring. Soon after they disappeared, leaving eggs. I then for the first time in fourteen years noticed magpies in my garden! It looks like they are here to stay since i now see them regularly in my garden. How can i discourage them coming into my garden without scaring away the other birds?