Why did the Archduke and his wife tour Sarajevo?

Archduke Franz Ferdinand and his morganatic wife Sophie visited Sarajevo on 28 June 1914 to inspect local military units and to dedicate the newly built Sarajevo City Hall.
Copyright Wanderlust World © https://www.ynyoo.com