The service members will be restored to their prior rank and receive full back pay.