In movies and media, there are often court wizards that have high towers and whatnot. Is there any truth in those, or is it just more movie pseudohistory?
You may find the answer to where did the stories of "court wizards" come from? relevant.