Former President Barack Obama told Nevada voters Monday that they should not give President Trump credit for the current state of the economy and said they should "remember who started it."

Obama told Nevadans that they should discount talk of "economic miracles" that Trump has repeatedly touted, including a 3.7 percent unemployment rate and a strong economy ahead of the midterm elections in two weeks.

[WATCH: Obama hosts Las Vegas rally, Oct. 22, 2018]

"By the time I left office, wages were rising, uninsurance rate was falling, poverty was falling, and that's what I handed off to the next guy," Obama said. "So when you hear all this talk about 'economic miracles' right now — remember who started it."

The 44th president was out campaigning for Rep. Jacky Rosen, D-Nev., in Las Vegas and her bid to unseat Sen. Dean Heller. Obama called Rosen a "good bet," adding that voters deciding to stay home and not vote would be "profoundly dangerous."

He argued that Heller, who is seeking a second full term, simply "goes along" with Trump on issues writ large. Heller has repeatedly touted his bipartisan work on Capitol Hill, particularly on veterans.

Obama took multiple digs at the president in his speech, calling him "the next guy" and saying that he believes in facts "unlike some."

"Unlike some, I actually try to state facts. I believe in facts," Obama said while discussing the GOP tax law. "I believe in a fact-based reality and a fact-based politics. I don't believe in just making stuff up."

Obama is the latest in a line of high-profile politicians to appear in the Silver State in recent weeks, including Trump and former Vice President Joe Biden.