The relationship outside the classroom began over the phone, using a messenger app popular with teenagers called Kik.
She was a 15-year-old and he was her middle school speech teacher at Euless Junior High in Euless, Texas.
The pair sent messages to one another nearly every day over Christmas break, according to an arrest warrant affidavit cited by ABC affiliate WFAA. By February, they were seeing each other outside of school and engaging in a physical relationship, the victim would later tell police.
The relationship continued to escalate, and on June 2 the teenager contacted her former teacher - identified by police as 26-year-old Cornelis Smith - and told him she thought she was pregnant.
Police said the pregnancy was later confirmed using a home pregnancy test, according to WFAA.
The affidavit cited by WFAA says Smith told the teenager he would "help her if she was going to have the child or have an abortion," but "he would have to take his wife and child to East Texas first."
Eventually, the affidavit says, the teenager told her parents about the pregnancy and Smith called the family and confirmed that the unborn child was his, the station reported.
Last month, the Fort Worth Star-Telegram reported, Smith showed up at the Euless Police Department with the victim's mother, father and aunt.
He agreed to be interviewed, according to an arrest warrant affidavit cited by the paper, and told a detective that he had briefly had sex with the teenager in the parking lot of a vacant store the month before. He said he had not used a condom but didn't think he'd ejaculated, the affidavit noted.
Smith's former student told a different story. According to the affidavit, she told police that their relationship had become sexual months before. She said Smith would email another teacher so that the teenager could get permission to spend time his classroom during his conference period, the paper reported. In addition to kissing and talking about oral sex, the teenager performed oral sex on Smith, she told police.
On multiple occasions during spring break, she told police, Smith came to her parent's home and the two had sex. She noted that Smith told her he had used a condom at the time.
The Star-Telegram reported that the girl emphasized to police that "she did agree to have sex" with Smith.
The affidavit states that police were able to recover messages on the teenager's cellphone that confirmed her story, the paper reported. By the time her family met with police, the affidavit states, her stepfather told investigators that his daughter had been to a clinic on June 13 and confirmed that she was eight weeks pregnant.
Records cited by the Star-Telegram reveal that smith turned himself in to police last month. He has been charged with sexual assault of a child under age 17 and was released on $75,000 bail.
Hurst-Euless-Bedford school district officials told the paper that Smith was a first-year teacher who was "thoroughly vetted prior to his employment, and had no offenses on his record."
A district spokesman told the paper that he resigned from his position when it became clear that the district was beginning termination proceedings.
School officials said Euless police notified them that they were investigating a complaint that Smith was having an inappropriate relationship with a student.
The Washington Post
Sun Jul 24 2016
Smith was a first-year teacher who was "thoroughly vetted prior to his employment, and had no offenses on his record."
ANALYSIS - What could happen if Trump rejects the US election results
If Trump seems to be losing, the delay could let him claim fraud and undermine confidence in election officials.
Motorcycling - Marquez wins Australian MotoGP after intense battle with Martin
The 31-year-old, third in the championship standings, has now won the Australian MotoGP four times in the premier class.
Prabowo takes up Indonesian presidency, vows to tackle corruption, other issues
Indonesia's Prabowo Subianto on Sunday took over as president of the world's third-largest democracy, vowing to combat internal issues
Nepal's Sherpas deserve more, says teenager who scaled world's 14 tallest peaks
Sherpas are known for climbing skills that make them the backbone of mountain expeditions.
Inside the underground lab in China tasked with solving a physics mystery
China will soon collect neutrino data, aiming to unravel one of particle physics' biggest mysteries.
Millions in Cuba still without power as major outage persists
Millions of Cubans remain without electricity because of a prolonged outage at the main power plants on the island, Anadolu Agency reported.
Surge in Gaza violence increases famine risk, monitor says
About 1.84 million people across the besieged Palestinian enclave are living through high levels of acute food insecurity.
Israel pounds Beirut and Gaza after rockets hit Israel's north
A drone was launched at Prime Minister Benjamin Netanyahu's holiday home.
Elon Musk promises to award $1 mil each day to a signer of his petition
He awarded a $1 million check to an attendee of his event in Pennsylvania aimed at rallying supporters behind Donald Trump.
Former special forces commander Prabowo to take up Indonesian presidency
Indonesia's Prabowo Subianto will take over as president of the world's third-largest democracy after sweeping the country's election with policies like free meals for school children
Father of Malaysian Islamic banking, Abdul Halim Ismail passes away
His dedication and pioneering spirit played an important role in shaping the journey of Bank Islam as well as leaving a lasting impact on the development of Malaysia's Islamic finance industry.
Zayn Malik postpones US tour dates after One Direction bandmate Liam Payne's death
Payne, 31, died on Wednesday after falling from a third-floor hotel room balcony in Buenos Aires, shocking fans of the boy band.
Why voters in a handful of swing states will decide the US presidential election
The contest will almost certainly be decided by just tens of thousands of voters a tiny fraction of the populace in a handful of states.
INSIGHT - Sudan's war risks 'lost generation' of children
A devastating crisis is unfolding in Sudan, where the most vulnerable members of society children are bearing the brunt of the violence.
Who is Prabowo Subianto, incoming president of Indonesia?
A wealthy ex-general with ties to Indonesia's popular outgoing president and its dictatorial past, looks set to be its next leader.
Trump says he would impose tariffs on China if China went into Taiwan
Republican presidential candidate Donald Trump said he would impose additional tariffs on China if China were to "go into Taiwan,"
Iran's supreme leader says Hamas leader's death will not halt 'Axis of Resistance'
The "Axis of Resistance", built up with years of Iranian support, includes Hamas, the Lebanese Hezbollah group, the Houthi movement in Yemen, and various Shi'ite groups in Iraq and Syria.
Putin says Russia willing to seek compromises between Iran and Israel
Russia is ready to help seek compromises between arch-foes Israel and Iran, President Vladimir Putin said on Friday, saying these would be difficult but possible.
What proposals will Russia push at the BRICS summit?
The proposal is also to establish a BRICS reinsurance company to allow uninterrupted shipment of goods and key commodities between members.
Indonesia's free meals plan in the spotlight as Prabowo readies for office
Prabowo calls the programme one of the main drivers of economic growth, eventually set to add an estimated 2.5 million jobs.