If you are meaning the titles such as Baron and Count, you have to donate gold to the city trade minister.
The money comes out of your bank when you buy a title. You can buy any title you qualify for. You gain loyalty with the trade minister. But you can also just do spawns. Like the Black gate. Or donate wood. Or do trade routes.
Comments
https://uo.com/wiki/ultima-online-wiki/gameplay/city-loyalty/