Yes, Gandalf and the balrog are each maia, the lower-level, so to speak, of the Valar. Many of those were seduced by Melkor (later Morgoth) and became his creatures, such as the Balrogs and Sauron himself.
That one seems to have been too easy. Gotta think of something else.
Dave Oesterreich