Capitalising the definite article in names
I'm a bit confused on the proper capitalization rules when "the" is part of someone's title. For example, if I have a character referred to as "The Blacksmith", which of these sentences would be correct?
In an era long gone by, there existed an entity known as The Blacksmith.
In an era long gone by, there existed an entity known as the Blacksmith.