Except when a statute granting the right to an attorney fee award itself provides a basis for federal question jurisdiction, a district court lacks jurisdiction to award the defendant attorney fees after dismissing the complaint for lack of Article III standing.