i don`t think it was because he wanted to be the last with the sharigan because he left sasuke alive and told him to learn it. i think there were some hidded truths liked they used him and stuff, but other then that i thinkhe became high on power and wanted to test himself,ofcourse he could`ve gone after a different clan but then again the uchiha clan is the best!!!