Does intelligence really peak at 25?

I took a few psychology courses 15 years ago and the general idea seemed to be that your intelligence peaks in your mid 20s and after that it (gradually) declines. However, I've seen a few claims that things aren't so black and white and certain aspects of cognitive ability continue to increase well beyond your 20s.

Does research back this up? Which aspects are we talking about?