What's the longest running anime still going?

What’s the longest running anime that’s still on the air? What about the longest running anime that has already ended though? I know Naruto has ran for a long time, and DBZ has been on for a while too. But is there anything else that has ran longer?

Detective Conan - 990+ eps. One piece is a close second.