A 38-year-old man has pleaded guilty to attempted murder and arson for setting fires inside the official residence of Gov.