Who is Beelzebub?

Beelzebub is a demon or a deity worshiped in Philistine. Beelzebub name is associated with the devil. Some interpretations of the name could mean Lord of the Flies.