A failed Republican candidate who US authorities say was angry over his defeat and made baseless claims the election in November was “rigged” against him has been arrested

in connection with a series of drive-by shootings targeting the homes of Democratic lawmakers in New Mexico.

Solomon Pena, 39, was arrested Monday evening, hours after officers took him into custody and served search warrants at his home, police said.

Albuquerque Police Chief Harold Medina described Pena as the “mastermind” of what he said appears to be a politically motivated conspiracy

leading to shootings at the homes of two county commissioners and two state legislators from early December to early January.

No one was injured in the shootings, but in one case, three bullets passed through the bedroom of a state senator’s 10-year-old daughter.

Pena ran unsuccessfully in November against state Representative Miguel P Garcia, the longtime congressman for House District 14 in South Valley in the Albuquerque metropolitan area.