By which act was the office of Governor General of India created?

Ans – Government of India Act, 1858