Janesville police said the department had made contact in 2010 with the man who committed suicide in the city's downtown Tuesday regarding a letter he had sent to U.S. Rep. Paul Ryan.
Tuesday's incident happened at about 4:30 p.m. in front of Ryan's office on S. Main St.
Police responded to a report of a shooting in a vestibule at Old Towne Mall, which is where Ryan's office is located.
Janesville police said the 42-year-old man apparently shot himself. He was transported to Mercy Hospital, where he later died.
Police said on Wednesday that Mark Kromrey had written a letter in 2010 to Ryan indicating that he might commit suicide in the area of his office. As a result, police were notified and assistance was offered to Kromrey, police said.
"Congressman Ryan's office reached out immediately to the U.S. Capitol police when they learned of the concerns. Congressman Ryan's office was quite concerned for getting some help for Mr. Kromrey," said Chief David Moore, of the Janesville Police Department.
Police said Kromrey did not threaten Ryan. He told officers at the time that he was not mad at Ryan and that he didn't have any hostile feelings for the congressman. He even indicated that Ryan had helped him in the past.
Kromrey left a suicide note but police said there was no mention of Ryan.
Ryan was safe in Washington, D.C., on Tuesday.
Ryan issued a statement regarding the incident.
"I am deeply saddened by the tragic event which occurred yesterday near my Janesville Constituent Services Center. My prayers are with Mr. Kromrey's family and the entire Janesville community during this difficult time. We remain grateful for the efforts of the Janesville Police Department and first responders in their handling of this matter," Ryan said in the statement.