Is it legal for person 17 to date someone 4 yrs older in Texas?

The older individual could be charged with sexual assault if they have a sexual relationship, which has a penalty of 2 to 20 years in prison.