The title Grand Duke of Bosnia was a court title in the Kingdom of Bosnia, bestowed by the King to highest military commanders.
It was usually reserved for the most influential and capable members of the highest Bosnian nobility.
[1][2] To interpret it as an office rather than merely a court rank could be more accurate.
[3]