I've worked in companies where standard practice was to give new managers senior-level engineers, because senior engineers were less likely to require some of the more complex management issues that someone more junior might.
Speaking as someone who, when I was a junior, only ever worked for first time managers -- I hated it, and wished that I had a more experienced manager. Meanwhile, my senior friends who had a first time manager enjoyed the process of teaching a new manager the ropes.