 When she got bored with it, she handed the office key to her lieutenant governor and walked away.
<clarity>  When she got bored with it, she handed the office key to her lieutenant governor and walked away.
 When she got bored with it, to and walked away.