The Minneapolis school shooter had broken up with a romantic partner before carrying out the horrific attack, it has emerged.

Robin Westman, who identifies as a transgender woman, had been involved with a 'significant' partner, but the relationship recently ended, the killer's father told police. The gender of Westman's former 'romantic partner' is unclear.

The killer had been staying with a friend in the aftermath of the break-up, according to a search warrant obtained by FOX 9.

Westman on Wednesday fired 116 rifle rounds through stained-glass windows at Annunciation Church in Minneapolis while school children celebrated Mass.

The mass shooting killed two students, ages eight and 10, and left 18 others injured.