Ridesharing company Uber reached a nonprosecution agreement with the Department of Justice (DOJ) on Friday to resolve a criminal investigation into its 2016 data breach and subsequent cover-up.

As part of the agreement, which carries a term of one year, Uber accepted responsibility for concealing its 2016 data breach from the Federal Trade Commission (FTC), which at the time had a pending investigation into the company’s data security practices following a data breach in 2014.