Print the last line of the history file, take the first line of that output, remove the first field (separated by a semicolon) and the double quotes, then execute the remaining command using bash.
history | tail -n 1 | head -n 1 | cut -f 2- -d ';' | tr -d '"' | xargs -I '{}' echo 'bash -c {}' | sh