Attack them till there loyalty hits 0 and if you have room for another city it will automatically capture it and ask you to rename it.