George V ( George Frederick Alexander Charles Ernest Augustus ; 27 May 1819 -- 12 June 1878 ) was the last king of Hanover and a member of the German branch of the House of Hanover . George V ( George Frederick Alexander Charles Ernest Augustus ; 27 May 1819 -- 12 June 1878 ) was the last King of Hanover .