FBI Director Christopher Wray has announced his decision to resign at the end of US President Joe Biden's term in January, paving the way for President-elect Donald Trump's nominee Indian-American Kash Patel to take charge of the country's top investigating agency.