WASHINGTON (AP) - Officials say House Majority Leader Eric Cantor intends to resign his leadership post this summer after losing a primary election Tuesday night in a major upset.

The officials say Cantor is expected to make a formal announcement of his plans later in the day at a closed-door meeting of the party's rank and file.

The decision would clear the way for a leadership shake-up just months before midterm elections with control of the House at stake.

Cantor's office declined to comment. The officials who described his plans did so on condition of anonymity, saying they were not authorized to pre-empt an official announcement.

House Majority Leader Eric Cantor, R-Va., delivers a concession speech in Richmond, Va., Tuesday, June 10, 2014. Cantor lost in the GOP primary to tea
House Majority Leader Eric Cantor, R-Va., delivers a concession speech in Richmond, Va., Tuesday, June 10, 2014. Cantor lost in the GOP primary to tea party candidate Dave Brat. (AP Photo)