Hoisted by my own petard.

Was trying to checkmate in the middle of the board but had my queen too close.