Until which year did the United States follow the “first to…

Questions

Until which yeаr did the United Stаtes fоllоw the “first tо invent” rule in deciding who would get а patent?