Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

The embattled head of Puerto Rico’s power utility resigned on Friday, the latest controversy to hit the island as it struggles to bring its electric grid back online.

Ricardo Ramos, executive director of the Electric Power Authority of Puerto Rico (PREPA), addresses the media in San Juan, Puerto Rico on Nov. 2, 2017. Alvin Baez / Reuters file

Ricardo Ramos, the executive director of the Puerto Rico Electric Power Agency, submitted his resignation to Puerto Rico’s governor’s office only a few days after he testified before the Senate Energy and Natural Resource Committee over the controversial contract he approved with Whitefish Energy Holdings, a small Montana firm to rebuild Puerto Rico’s electric grid.

A few hours after Ramos resigned, Puerto Rico Governor Ricardo Rosselló recommended the appointment of engineer Justo González as interim director of the public utility.

The Morning Rundown Get a head start on the morning's top stories. This site is protected by recaptcha

"This designation will begin the process of evaluating the best available candidates, from both inside and outside Puerto Rico, in order to go ahead and name a permanent executive director for PREPA," Rosselló said. "I trust that this process will occur as fast as possible and will not affect the work of rehabilitating the electricity system across the island, in accordance with the directives that we have put out.”

San Juan Mayor Carmen Cruz tweeted her approval of Ramos’s removal.

That Ricardo Ramos does not head PREPA is the right thing. That he helped destroy the credibility of the PR government is a disgrace. — Carmen Yulín Cruz (@CarmenYulinCruz) November 17, 2017

Ramos defended his decision to approve the contentious contract with Whitefish Energy before the Senate on Tuesday.

He said he had reviewed approximately “a half-dozen” proposals, but believed only two fulfilled the island’s needs. Of the two, Whitefish is the only company that guaranteed that PREPA would only pay for work that the Montana company completed.

Related: Congressional Committees Slam Puerto Rico Officials Over Controversial Energy Contract

“I therefore authorized our contracting staff to execute a contract with Whitefish while we continued to seek additional assistance from others for the complete, multibillion dollar restoration effort still to come,” Ramos said at the time. “In retrospect, there are some steps in our contracting process with Whitefish that we could have done better.”

PREPA also hit a snag this week when a major transmission line failure forced its power generation to be cut in half.

Rosselló had set the goal of restoring 50 percent of the island’s power at this point. But hours after PREPA reached its goal, the line failure reduced power generation to 22 percent.

As of Friday, PREPA had increased that number to 43 percent.