by the year ...; before the year ...
Used with a specific year (e.g., 2025年までに) to indicate a deadline or time limit. The year is always stated before 年までに.
This project must be completed by the year 2026.
We set a goal to reduce greenhouse gases by the year 2030.