PHOTO: Twitter/Cesguar
Now playing
00:42
Video appears to show drone in alleged attack
TOPSHOT - Venezuelan President Nicolas Maduro holds a national flag during the closing of the campaign to elect a Constituent Assembly that would rewrite the constitution, in Caracas on July 27, 2017 on the second day of a 48-hour general strike called by the opposition.
Venezuela
TOPSHOT - Venezuelan President Nicolas Maduro holds a national flag during the closing of the campaign to elect a Constituent Assembly that would rewrite the constitution, in Caracas on July 27, 2017 on the second day of a 48-hour general strike called by the opposition. Venezuela's opposition called for a nationwide protest on Friday in outright defiance of a new government ban on demonstrations ahead of a controversial weekend election. "The regime declared we can't demonstrate... We will respond with the TAKING OF VENEZUELA tomorrow," the opposition coalition, the Democratic Unity Roundtable, said Thursday on its Twitter account. / AFP PHOTO / Federico PARRA (Photo credit should read FEDERICO PARRA/AFP/Getty Images)
PHOTO: FEDERICO PARRA/AFP/AFP/Getty Images
Now playing
01:46
US met with Venezuela officers plotting coup
Venezuelan citizens wait in line to cross to Ecuador at the Rumichaca international bridge in Ipiales, Colombia, on August 11, 2018. - The "unusual" increase in the migratory flow of Venezuelans, which reached 4,200 people a day, prompeted Ecuador to declare state of emergency in provinces bordering Peru and Colombia. (Photo by LEONARDO CASTRO / AFP)        (Photo credit should read LEONARDO CASTRO/AFP/Getty Images)
Venezuelan citizens wait in line to cross to Ecuador at the Rumichaca international bridge in Ipiales, Colombia, on August 11, 2018. - The "unusual" increase in the migratory flow of Venezuelans, which reached 4,200 people a day, prompeted Ecuador to declare state of emergency in provinces bordering Peru and Colombia. (Photo by LEONARDO CASTRO / AFP) (Photo credit should read LEONARDO CASTRO/AFP/Getty Images)
PHOTO: LEONARDO CASTRO/AFP/AFP/Getty Images
Now playing
01:56
Chaos in Venezuela triggers mass exodus
detonaciones desfile militar caracas maduro ruidos brk mirador mundial osmary hernandez_00004223.jpg
detonaciones desfile militar caracas maduro ruidos brk mirador mundial osmary hernandez_00004223.jpg
PHOTO: vtv
Now playing
02:18
Venezuelan President evacuated from stage
WASHINGTON, DC - APRIL 30:  (CHINA OUT, SOUTH KOREA OUT) U.S. President Donald Trump speaks during a joint press conference with Nigerian President Muhammadu Buhari at the Rose Garden at the White House April 30, 2018 in Washington, DC. The two leaders also met in the Oval Office to discuss a range of bilateral issues earlier in the day.  (Photo by The Asahi Shimbun via Getty Images)
WASHINGTON, DC - APRIL 30: (CHINA OUT, SOUTH KOREA OUT) U.S. President Donald Trump speaks during a joint press conference with Nigerian President Muhammadu Buhari at the Rose Garden at the White House April 30, 2018 in Washington, DC. The two leaders also met in the Oval Office to discuss a range of bilateral issues earlier in the day. (Photo by The Asahi Shimbun via Getty Images)
PHOTO: he Asahi Shimbun via Getty Images
Now playing
01:59
Trump asked advisers about invading Venezuela
venezuela prison riot joshua holt newton lkl_00004530.jpg
venezuela prison riot joshua holt newton lkl_00004530.jpg
PHOTO: Facebook/Josh Holt
Now playing
02:03
American jailed in Venezuela fears for life
 Carolina Wong and Jorge Salas sit with their daughter, Akira, before they leave Venezuela for Peru.
Carolina Wong and Jorge Salas sit with their daughter, Akira, before they leave Venezuela for Peru.
PHOTO: Khushbu Shah/CNN
Now playing
01:54
Family tearfully leaves Venezuela
Now playing
01:30
Dad remembers son killed in Venezuelan unrest
Demonstrators clash with the police during a rally against Venezuelan President Nicolas Maduro, in Caracas on April 19, 2017.
Venezuela braced for rival demonstrations Wednesday for and against President Nicolas Maduro, whose push to tighten his grip on power has triggered waves of deadly unrest that have escalated the country
Demonstrators clash with the police during a rally against Venezuelan President Nicolas Maduro, in Caracas on April 19, 2017. Venezuela braced for rival demonstrations Wednesday for and against President Nicolas Maduro, whose push to tighten his grip on power has triggered waves of deadly unrest that have escalated the country's political and economic crisis. / AFP PHOTO / Juan BARRETO (Photo credit should read JUAN BARRETO/AFP/Getty Images)
PHOTO: JUAN BARRETO/AFP/Getty Images
Now playing
01:54
Why Venezuelans are protesting
venezuelan flag
venezuelan flag
Now playing
01:19
Venezuela to US: Military action a 'crazy act'
Now playing
01:36
Panetta on Trump: This is not reality TV
PHOTO: Lilian Tintori
Now playing
02:09
Venezuela: Opposition leaders seized
Voters receive instructions by a Venezuelan Bolivarian National Guard officer outside a polling station during the election for a constitutional assembly in Caracas, Venezuela, Sunday, July 30, 2017.
Voters receive instructions by a Venezuelan Bolivarian National Guard officer outside a polling station during the election for a constitutional assembly in Caracas, Venezuela, Sunday, July 30, 2017.
PHOTO: Ariana Cubillos/AP
Now playing
00:56
Venezuelan candidate shot dead before election
Anti-government activists set up a barricade during protests of the election for a Constituent Assembly in Caracas on July 30, 2017. Deadly violence erupted around the controversial vote, with a candidate to the all-powerful body being elected shot dead and troops firing weapons to clear protesters in Caracas and elsewhere.
Anti-government activists set up a barricade during protests of the election for a Constituent Assembly in Caracas on July 30, 2017. Deadly violence erupted around the controversial vote, with a candidate to the all-powerful body being elected shot dead and troops firing weapons to clear protesters in Caracas and elsewhere.
PHOTO: RONALDO SCHEMIDT/AFP/Getty Images
Now playing
01:27
Violent protests over Venezuelan election
Masked opposition demonstrators take part in clashes with riot police ensuing an anti-government protest in Caracas, on July 26, 2017.
Venezuelans blocked off deserted streets Wednesday as a 48-hour opposition-led general strike aimed at thwarting embattled President Nicolas Maduro
Masked opposition demonstrators take part in clashes with riot police ensuing an anti-government protest in Caracas, on July 26, 2017. Venezuelans blocked off deserted streets Wednesday as a 48-hour opposition-led general strike aimed at thwarting embattled President Nicolas Maduro's controversial plans to rewrite the country's constitution got underway. / AFP PHOTO / FEDERICO PARRA (Photo credit should read FEDERICO PARRA/AFP/Getty Images)
PHOTO: FEDERICO PARRA/AFP/AFP/Getty Images
Now playing
01:49
Why Venezuela is in crisis
Venezuela caught in chaos newton dnt_00000000.jpg
Venezuela caught in chaos newton dnt_00000000.jpg
Now playing
01:46
Caught in the chaos in Venezuela
(CNN) —  

Venezuela’s attorney general said Tuesday that two high-ranking military officers have been detained in the investigation into an alleged drone attack against President Nicolas Maduro.

Attorney General Tarek William Saab said National Guard Maj. Gen. Alejandro Perez and National Guard Col. Pedro Javier Zambrano were presented to court late Monday in the August 4 incident.

Opposition lawmaker Juan Requesens is accused of taking part in the plot, his lawyer said. Several other individuals have been arrested.

Army Gen. Armando Hernandez, in a video posted on social media, said he was being detained at his flat in Caracas by counterintelligence service DGCIM.

CNN could not independently verify the claim.

Maduro has accused opposition groups of orchestrating the failed attack and claimed the “financiers and planners” of the operation live in Florida.

Authorities have identified the masterminds of the assassination attempt as well as the people who assisted them, Saab said previously.

The investigation, which involves four prosecutors, has yielded the locations from where the drones were piloted, as well as the arrests of two of the drone pilots, the country’s top law enforcement official said.

“We also know the places where they stayed in the days leading to the attack. We have identified the people who made the explosives and prepared the weapons and their international links,” Saab said.

He further said the alleged assassination constituted a “betrayal to the motherland, intentional homicide attempt, terrorism, association to commit a crime and financing terrorism.”

Maduro survived the assault after several drones armed with explosives flew toward him during a speech at a military parade, an attack he blamed on far-right elements and Colombia’s outgoing president, Juan Manuel Santos.

CNN’s Eliott C. McLaughlin, Joe Sterling, Laura Perez Maestro, Marilia Brocchetto and Jonny Hallam contributed to this report.