Best midrange phone?

I'm looking to buy a mid-range smartphone. I live in the UK, and I don't really mind what carrier its on. Something cheaper than the nexus 4. Any recommendations?