Phrases such as together with, as well as, and along with are not the same as and. The phrase introduced by as well as or along with will modify the earlier word (mayor in this case), but it does not compound the subjects (as the word and would do).
Does that help?The mayor as well as his brothers is going to prison.Source: Subject-Verb Agreement
The mayor and his brothers are going to jail.
- For Teachers