Earlier quoted context omitted.
YUI was released the same year as jQuery. Care to qualify that a bit? Edit: Had my dates wrong.
YUI was more extensible, followed (mostly) good JavaScript patterns (making heavy use of the module pattern), had relatively good cross-platform support and an easy to understand interface. To top it off, the documentation was top notch.
Serious? That's what drove me away. It might have been top notch academically but for real life use I found it painful to get answers and simple code problems fixed.