A Wisconsin woman used hacked Facebook accounts to provide lessons in making bombs and poison on behalf of the Islamic State militant group, prosecutors said Monday.

Waheba Issa Dais, 46, of Cudahy, Wisconsin, pleaded guilty to one count of "attempting to provide material support to the Islamic State of Iraq and al-Sham (ISIS), a designated foreign terrorist organisation," the US Attorney's Office of the Eastern District of Wisconsin said in a release.

Her support in 2018 took the form of providing expert advice on the Internet on bombs and biological weapons in order to help ISIS, officials said.

"Remember Boston Marathon bombing?" prosecutors said she posted to an undercover FBI agent on Facebook. "It was very easy to make. All it needs is a pressure cooker, shrapnel and explosives. Join my channel and research."

They said she also gave instructions on how to make the poison ricin, derived from castor beans.

Timeline of the Isis caliphate Show all 19 1 /19 Timeline of the Isis caliphate Timeline of the Isis caliphate ISIS began as a group by the merging of extremist organisations ISI and al-Nusra in 2013. Following clashes, Syrian rebels captured the ISIS headquarters in Aleppo in January 2014 (pictured) AFP/Getty Timeline of the Isis caliphate Abu Bakr Al-Baghdadi declared the creation of a caliphate in Mosul on 27 June 2014 Timeline of the Isis caliphate Isis conquered the Kurdish towns of Sinjar and Zumar in August 2014, forcing thousands of civilians to flee their homes. Pictured are a group of Yazidi Kurds who have fled Rex Timeline of the Isis caliphate On September 2 2014 Isis released a video depicting the beheading of US journalist Steven Sotloff. On September 13 they released another video showing the execution of British aid worker David Haines Timeline of the Isis caliphate The US launched its first airstrikes against Isis in Syria on 23 September 2014. Here Lt Gen William C Mayville Jnr speaks about the bombing campaign in the wake of the first strikes Getty Timeline of the Isis caliphate Isis militants sit atop a hill planted with their flag in the Syrian town of Kobani on 6 October 2014. They had been advancing on Kobani since mid-September and by now was in control of the city’s entrance and exit points AFP/Getty Timeline of the Isis caliphate Residents of the border village of Alizar keep guard day and night as they wait in fear of mortar fire from Isis who have occupied the nearby city of Kobani Getty Timeline of the Isis caliphate Smoke rises following a US airstrike on Kobani, 28 October 2014 AFP/Getty Timeline of the Isis caliphate YPG fighters raise a flag as they reclaim Kobani on 26 January 2015 VOA Timeline of the Isis caliphate Isis seized the ancient Syrian city of Palmyra on 20 May 2015. This image show the city from above days after its capture by Isis Getty Timeline of the Isis caliphate Kurdish forces are stationed on a hill above the town of Sinjar as smoke rises following US airstrikes on 12 November 2015 AFP/Getty Timeline of the Isis caliphate Kurdish forces enter Sinjar after seizing it from Isis control on 13 November 2015 AFP/Getty Timeline of the Isis caliphate Iraqi government forces make the victory sign as they retake the city of Fallujah from ISIS on 26 June 2016 Getty Timeline of the Isis caliphate Iraqi forces battle with Isis for the city of Mosul on 30 June 2017 AFP/Getty Timeline of the Isis caliphate Members of the Iraqi federal police raise flags in Mosul on 8 July 2017. On the following day, Iraqi prime minister Haider Al Abadi declares victory over Isis in Mosul Getty Timeline of the Isis caliphate Members of Syrian Democratic Forces celebrate in Al-Naim square after taking back the city of Raqqa from Isis. US-backed Syrian forces declare victory over Isis in Raqqa on 20 October 2017 after a four-month long campaign Getty Timeline of the Isis caliphate Female fighters of the Syrian Democratic Forces celebrate in Al-Naim Square after taking back the city of Raqqa from Isis. US-backed Syrian forces declare victory over Isis in Raqqa on 20 October 2017 after a four-month long campaign AFP/Getty Timeline of the Isis caliphate Trucks full of women and children arrive from the last Isis-held areas in Deir ez-Zor, Syria in January 2019 They were among the last civilians to be living in the ISIS caliphate, by this time reduced to just two small villages in Syria’s Deir ez-Zor Richard Hall/The Independent Timeline of the Isis caliphate Zikia Ibrahim, 28, with her two-year-old son and 8-month-old daughter, after fleeing the Isis caliphate, on Saturday 26 January 2019 Richard Hall/The Independent

US Attorney Matthew Krueger said in a statement that "From her home in Cudahy, Dais promoted ISIS's hateful, violent agenda and provided detailed instructions on how to harm innocent people."

Dais faces a sentence of 20 years in prison and a fine of $250,000, officials said, and is set to go before a judge in September for sentencing.

Her attorney, John Campion, told the New York Times that he and his client, "look forward to the September sentencing hearing where we will address the complicated history that led to her online conduct."

Her attorney was not immediately available to Reuters early Tuesday.

Amal Clooney calls on UN to stop Islamic State genocide

In a separate case, prosecutors announced the conviction of Yosvany Padilla-Conde, a Cuban national who was residing in Milwaukee, Wisconsin, for attempting to provide material support to ISIS.

In a release from the US Attorney's Office, prosecutors said Padilla-Conde made videos swearing his allegiance to the group and stated his intent to travel to the Middle East. He also faces 20 years in prison and a $250,000 fine.

Craig Powell, an attorney for Padilla-Conde, told the Times that his client was set up by an undercover FBI agent who offered to help him travel to Mexico if he made an ISIS video.

Padilla-Conde's attorney could not immediately be reached by Reuters early Tuesday. His sentencing hearing is set for August, officials said.